aboutsummaryrefslogtreecommitdiff
path: root/sboclean
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-14 04:04:34 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-14 04:04:34 +0100
commit12ab108ac9be2fd27700ca2f92b2a73f04ac4803 (patch)
treed039751c0d102b467dd5c59a5047867a9e28c2e6 /sboclean
parenteaa18fd91c51c136ff6ec607d46d32b87a2ea34f (diff)
downloadsbotools-12ab108ac9be2fd27700ca2f92b2a73f04ac4803.tar.xz
Additional Perl::Critic::Freenode fixes, and one missed prototype
Diffstat (limited to 'sboclean')
-rwxr-xr-xsboclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboclean b/sboclean
index 0883bb2..39c93e1 100755
--- a/sboclean
+++ b/sboclean
@@ -59,7 +59,7 @@ sub rm_full {
my $full = shift;
if ($interactive) {
print "Remove $full? [n] ";
- return unless <STDIN> =~ /^[Yy]/;
+ return() unless <STDIN> =~ /^[Yy]/;
}
unlink $full if -f $full;
remove_tree($full) if -d $full;