From 9d47ddbe1fc4a0e74096d8cc32b2125bc275dd3c Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Sat, 30 Jul 2005 13:44:09 +0000 Subject: [PATCH] Remove debug infos in dvd-writepart git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2271 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/scripts/dvd-writepart.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/scripts/dvd-writepart.in b/bacula/scripts/dvd-writepart.in index be7fb2d990..0cdf6c37db 100644 --- a/bacula/scripts/dvd-writepart.in +++ b/bacula/scripts/dvd-writepart.in @@ -34,7 +34,7 @@ kver=`uname -r | cut -d. -f1,2` ksubver=`uname -r | cut -d. -f3 | cut -d- -f1` if test "a$kver" = "a2.6" ; then - if test "$ksubver" > 7 ; then + if test "$ksubver" -gt 7 ; then echo "Kernel version >= 2.6.8, allowing to cross the 4gb boundary." GROWARGS="${GROWARGS} -use-the-force-luke=4gms" fi @@ -67,7 +67,7 @@ parentpid=$$ # Starts watchdog : checks if the parent is alive. If not, kill # growisofs. -bash -c "rtn=0; while [ \$rtn = 0 ]; do sleep 5; ps -p $parentpid; rtn=\$?; echo W\$rtn; done; echo \"Parent dead killing $growpid\"; kill $growpid; sleep 5; kill -9 $growpid" & +bash -c "rtn=0; while [ \$rtn = 0 ]; do sleep 5; ps -p $parentpid > /dev/null; rtn=\$?; done; echo \"Parent dead killing $growpid\"; kill $growpid; sleep 5; kill -9 $growpid" & watchpid=$! # Waits for growisofs to stop -- 2.39.5