From: Kern Sibbald Date: Tue, 5 Jun 2007 16:58:53 +0000 (+0000) Subject: Remove non-portable -e option in test X-Git-Tag: Release-7.0.0~6163 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a550b2a4b0c233e3fcbacf90beddef0337ef1bc7;p=bacula%2Fbacula Remove non-portable -e option in test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4982 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/scripts/disk-changer.in b/bacula/scripts/disk-changer.in index 85de7bf1de..404083e9bf 100644 --- a/bacula/scripts/disk-changer.in +++ b/bacula/scripts/disk-changer.in @@ -64,7 +64,7 @@ wd=@working_dir@ # dbgfile="$wd/disk-changer.log" debug() { - if test -e $dbgfile; then + if test -f $dbgfile; then echo "`date +\"%Y%m%d-%H:%M:%S\"` $*" >> $dbgfile fi }