Skip to content

Commit

Permalink
mxproxmox: Remove empty command "test"
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 7, 2022
1 parent 8d7e2ef commit aa24bed
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mxproxmox/mxproxmox
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ usage: $0 cmd
$0 backup ident path
$0 local-backups : run local backups (if needed)
$0 test
$0 api path : get from path, dump result
$0 client [cmd...] : call proxmox-backup-client (add key file if required)
$0 tclient [cmd...] : same with workaround for reiserfs /tmp
Expand Down Expand Up @@ -151,9 +150,6 @@ sub latest_snapshot_age {
return time-latest_snapshot($ident);
}

sub cmd_test {
}

sub cmd_backup {
my ($ident, $path, $limit) = @_;
lstat $path;
Expand Down Expand Up @@ -273,9 +269,7 @@ init_ua();

@ARGV >= 1 or die USAGE;
my ($cmd,@rest) = shift;
if ($cmd eq 'test') {
cmd_test(@ARGV);
} elsif ($cmd eq 'api') {
if ($cmd eq 'api') {
@ARGV==1 or die USAGE;
cmd_api(@ARGV);
} elsif ($cmd eq 'local-backups') {
Expand Down

0 comments on commit aa24bed

Please sign in to comment.