aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Beam/Backup.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Beam/Backup.pm')
-rw-r--r--lib/App/Beam/Backup.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/App/Beam/Backup.pm b/lib/App/Beam/Backup.pm
index 7d217e0..78e62f4 100644
--- a/lib/App/Beam/Backup.pm
+++ b/lib/App/Beam/Backup.pm
@@ -6,9 +6,12 @@ use Carp;
require App::Beam;
our @ISA = qw(App::Beam);
+use Unix::Sysexits;
+
sub run {
my $self = shift;
+ shift; # Skip subcommand name
$self->abend(EX_USAGE, "bad number of arguments") if @_;
$self->lock();

Return to:

Send suggestions and report system problems to the System administrator.