diff options
-rwxr-xr-x | utils/rhrd-schedules | 2 |
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 { |