]> git.pld-linux.org Git - packages/fortune-mod.git/blobdiff - fortune-mod.csh
- updated to 3.20.0
[packages/fortune-mod.git] / fortune-mod.csh
index 30e50ced291177dd94fb93551f7e323887a0cf37..64c84d29a003e8b6e11771b87895efbe5f6552e1 100644 (file)
@@ -1,7 +1,8 @@
 #!/bin/csh
 # skip fortunes on cron mails.
-tty -s || exit 0
-
-echo
-fortune -s
-echo
+tty -s
+if ( $? == 0 ) then
+       echo
+       fortune -s
+       echo
+endif
This page took 0.03685 seconds and 4 git commands to generate.