summaryrefslogtreecommitdiff
path: root/utils/rhrd-pool
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-03 17:27:25 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-03 17:27:25 (GMT)
commit4c180691b640ae416239f1bcd375ea513cf5d50b (patch)
tree8a11716b78358e5bdb976db99293f91f30dd0690 /utils/rhrd-pool
parentcb42bb3574fab1e761c6562c60ee3b5e3c8af09d (diff)
some cleanup
Diffstat (limited to 'utils/rhrd-pool')
-rwxr-xr-xutils/rhrd-pool4
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;
}