summaryrefslogtreecommitdiff
path: root/utils/rhrd-schedules
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rhrd-schedules')
-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 {