diff options
| author | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-12-29 22:48:54 +0000 |
|---|---|---|
| committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-12-29 22:48:54 +0000 |
| commit | 9300774d7e6ff06dffb0b48094e85fcae65b5eab (patch) | |
| tree | 6e025156d2c6b34330edd6818321c76e299216a4 | |
| parent | 956e99c923fde22971b7191c89ae7ff0274b67c0 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/periodic/periodic.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index 593d6c5ad8b4a..88e6ec30edeec 100644 --- a/usr.sbin/periodic/periodic.sh +++ b/usr.sbin/periodic/periodic.sh @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: periodic.sh,v 1.4 1997/08/16 17:08:35 pst Exp $ +# $Id: periodic.sh,v 1.5 1997/08/19 16:49:35 pst Exp $ # # Run nightly periodic scripts # @@ -57,7 +57,7 @@ echo "Subject: $host $run run output" for dir in $dirlist ; do for file in $dir/* ; do - if [ -x $file ] ; then + if [ -x $file -a ! -d $file ] ; then $file fi done |
