diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-12-03 17:27:25 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-12-03 17:27:25 (GMT) |
commit | 4c180691b640ae416239f1bcd375ea513cf5d50b (patch) | |
tree | 8a11716b78358e5bdb976db99293f91f30dd0690 /utils/rhrd-pool | |
parent | cb42bb3574fab1e761c6562c60ee3b5e3c8af09d (diff) |
some cleanup
Diffstat (limited to 'utils/rhrd-pool')
-rwxr-xr-x | utils/rhrd-pool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rhrd-pool b/utils/rhrd-pool index ada9b6f..7035902 100755 --- a/utils/rhrd-pool +++ b/utils/rhrd-pool @@ -181,7 +181,7 @@ sub remove { my ($ctx, $shortname, $force) = @_; - if(defined($force) && $force ne "--force") { + if(defined $force && $force ne "--force") { print_usage(); return 1; } @@ -213,7 +213,7 @@ sub clear { my ($ctx, $shortname, $force) = @_; - if(defined($force) && $force ne "--force") { + if(defined $force && $force ne "--force") { print_usage(); return 1; } |