projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.3.1
[debian/amanda]
/
server-src
/
amdump.pl
diff --git
a/server-src/amdump.pl
b/server-src/amdump.pl
index a86df00f0b8b9a157854eff4fa0b8f2feb529f9d..04499f5b89318fe808c3d8e42ab0df02b36b57b8 100644
(file)
--- a/
server-src/amdump.pl
+++ b/
server-src/amdump.pl
@@
-49,8
+49,11
@@
my @config_overrides_opts;
my $opt_no_taper = 0;
my $opt_from_client = 0;
my $opt_no_taper = 0;
my $opt_from_client = 0;
+
+debug("Arguments: " . join(' ', @ARGV));
Getopt::Long::Configure(qw(bundling));
GetOptions(
Getopt::Long::Configure(qw(bundling));
GetOptions(
+ 'version' => \&Amanda::Util::version_opt,
'help|usage|?' => \&usage,
'no-taper' => \$opt_no_taper,
'from-client' => \$opt_from_client,
'help|usage|?' => \&usage,
'no-taper' => \$opt_no_taper,
'from-client' => \$opt_from_client,
@@
-150,6
+153,7
@@
sub bail_already_running {
or die("cannot open a fake log to send an report - situation is dire");
print $fakelog <<EOF;
INFO amdump amdump pid $$
or die("cannot open a fake log to send an report - situation is dire");
print $fakelog <<EOF;
INFO amdump amdump pid $$
+START planner date $timestamp
START driver date $timestamp
ERROR amdump $msg
EOF
START driver date $timestamp
ERROR amdump $msg
EOF