]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 612. Thanks to frank @ impactservices.biz
authorTim Rice <tim@multitalents.net>
Thu, 30 Dec 2004 01:39:18 +0000 (01:39 +0000)
committerTim Rice <tim@multitalents.net>
Thu, 30 Dec 2004 01:39:18 +0000 (01:39 +0000)
util/notify.sh.in

index 904c9fa0ba8a24ee6e0303852cc31a41c5509f43..995ec034e3e2dabcd1351fed4e93282f4fca1b45 100644 (file)
@@ -610,7 +610,7 @@ returnTranscript()
     if [ "$RETURNTRANSCRIPT" = "yes" ] ; then
         printBanner "Transcript of session follows"
         COMFILE="log/c$commid"
-        if [ -a "$COMFILE" ] ; then
+        if [ -f "$COMFILE" ] ; then
             # dump the comfile to output except for '-- data' lines
             cat $COMFILE | $GREP -v "\-\- data"
         else 
@@ -826,7 +826,7 @@ if [ "$NOTIFY_FAXMASTER" = "yes" ]; then
        echo "Subject: $jobtag to $number $WHY"
        echo
         COMFILE="log/c$commid"
-        if [ -a "$COMFILE" ] ; then
+        if [ -f "$COMFILE" ] ; then
             cat $COMFILE
         else 
             printf "    No transcript available"