summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-06-23 20:08:17 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-06-23 20:08:17 (GMT)
commit454730a14f2ed6760469987965d747a9b5506920 (patch)
tree9a2fe698d4c8b3aefb763066969214ae5fdc3bfd /utils
parentfac90f045af92902b4dc4831bfd4ed202281e883 (diff)
fix rhrd-schedules
Diffstat (limited to 'utils')
-rwxr-xr-xutils/rhrd-schedules2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules
index 1bd3776..92dc9be 100755
--- a/utils/rhrd-schedules
+++ b/utils/rhrd-schedules
@@ -343,7 +343,7 @@ if(defined $ctx) {
print_usage();
$ret = 1;
}
- } if($cmd eq "get") {
+ } elsif($cmd eq "get") {
if($num_args == 2 && $ARGV[1] =~ m/^(\d{4})-(\d{2})-(\d{2})$/) {
$ret = get($ctx, $1, $2, $3);
} else {