aboutsummaryrefslogtreecommitdiff
path: root/sboclean
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-01-12 04:14:03 -0600
committerJ Pipkin <j@dawnrazor.net>2013-01-12 04:14:03 -0600
commitbe2bb2b27d61a39bff6efd890c3d519c39db321e (patch)
tree387f0c14a12526c6eb1668b3d588ded1a0472212 /sboclean
parentb2a26f795d32e398bfc3dbfc13882419bd3ba929 (diff)
downloadsbotools2-be2bb2b27d61a39bff6efd890c3d519c39db321e.tar.xz
implement failure-dependent exit statuses, ask to proceed if a failure is encountered during the process
Diffstat (limited to 'sboclean')
-rwxr-xr-xsboclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboclean b/sboclean
index 9ed15f6..3835de7 100755
--- a/sboclean
+++ b/sboclean
@@ -51,7 +51,7 @@ GetOptions(
show_usage and exit 0 if $help;
show_version and exit 0 if $vers;
-show_usage, die "You must specify at least one of -d or -w.\n" unless
+usage_error "You must specify at least one of -d or -w." unless
($clean_dist || $clean_work);
sub remove_stuff($) {