aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda26-server/files/patch-server-src__amcleanup.pl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /misc/amanda26-server/files/patch-server-src__amcleanup.pl
parentf474a16cfbfad1844b9c50e45e36a3a77f0c59b5 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'misc/amanda26-server/files/patch-server-src__amcleanup.pl')
-rw-r--r--misc/amanda26-server/files/patch-server-src__amcleanup.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/amanda26-server/files/patch-server-src__amcleanup.pl b/misc/amanda26-server/files/patch-server-src__amcleanup.pl
new file mode 100644
index 000000000000..fbd45ccbea63
--- /dev/null
+++ b/misc/amanda26-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);