summaryrefslogtreecommitdiff
path: root/utils/rhrd-pool
diff options
context:
space:
mode:
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;
}