aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda-server/files/patch-server-src::amcleanup.pl
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2009-02-06 07:16:32 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2009-02-06 07:16:32 +0000
commit2c0c9683099dd48ff2139916cf0580acaf46d716 (patch)
tree4c7ec334da8c82a05a630e1bd59362ca1d6ef8b5 /misc/amanda-server/files/patch-server-src::amcleanup.pl
parentd0c60b5cf51c7f384d80bbf9cda24318b3f1641d (diff)
downloadports-2c0c9683099dd48ff2139916cf0580acaf46d716.tar.gz
ports-2c0c9683099dd48ff2139916cf0580acaf46d716.zip
Notes
Diffstat (limited to 'misc/amanda-server/files/patch-server-src::amcleanup.pl')
-rw-r--r--misc/amanda-server/files/patch-server-src::amcleanup.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/amanda-server/files/patch-server-src::amcleanup.pl b/misc/amanda-server/files/patch-server-src::amcleanup.pl
new file mode 100644
index 000000000000..fbd45ccbea63
--- /dev/null
+++ b/misc/amanda-server/files/patch-server-src::amcleanup.pl
@@ -0,0 +1,11 @@
+--- server-src/amcleanup.pl.orig 2009-01-28 13:57:21.000000000 +0900
++++ server-src/amcleanup.pl 2009-01-28 13:57:33.000000000 +0900
+@@ -94,7 +94,7 @@
+ } elsif (!$process_alive) {
+ #check amdump/amflush process
+ foreach my $pname ("amdump", "amflush") {
+- my $pid = `ps -ef|grep -w ${pname}|grep -w ${config_name}| grep -v grep | awk '{print \$2}'`;
++ my $pid = `ps -f|grep -w ${pname}|grep -w ${config_name}| grep -v grep | awk '{print \$2}'`;
+ chomp $pid;
+ if ($pid ne "") {
+ $Amanda_process->set_master($pname, $pid);