- makes flexbackup run under ksh
authorwrobell <wrobell@pld-linux.org>
Tue, 21 Nov 2000 00:44:19 +0000 (00:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flexbackup-ksh.patch -> 1.1

flexbackup-ksh.patch [new file with mode: 0644]

diff --git a/flexbackup-ksh.patch b/flexbackup-ksh.patch
new file mode 100644 (file)
index 0000000..0a4187a
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur flexbackup-0.9.8.orig/flexbackup flexbackup-0.9.8/flexbackup
+--- flexbackup-0.9.8.orig/flexbackup   Wed Nov  3 04:13:41 1999
++++ flexbackup-0.9.8/flexbackup        Mon Nov 20 21:22:36 2000
+@@ -531,7 +531,7 @@
+     # Enough fooling around... run it.
+     if (!defined($main::opt{'n'})) {
+         foreach $cmd (@cmds) {
+-            system("($cmd) 2>&1 | tee -a $main::log");
++            system("(/bin/sh -c '$cmd') 2>&1 | tee -a $main::log");
+             if ($CHILD_ERROR) {
+                 &log("$cfg::type: error from backup, exiting");
+                 &log("offending command: $cmd");
This page took 0.094798 seconds and 4 git commands to generate.