diff options
| author | Brian Somers <brian@FreeBSD.org> | 2000-09-19 21:46:54 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2000-09-19 21:46:54 +0000 |
| commit | 8a7f44a640c64d9c603bd9915ea9beda9cf26183 (patch) | |
| tree | 8b023bd568bba4f72d105302b1bf1ada002f7598 | |
| parent | e653127edf9ecafec99c52d3ca3657a9f981d2ae (diff) | |
Notes
| -rw-r--r-- | usr.sbin/periodic/periodic.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index 06f14bb71008..cb849b538ed5 100644 --- a/usr.sbin/periodic/periodic.sh +++ b/usr.sbin/periodic/periodic.sh @@ -78,9 +78,10 @@ do output=TRUE processed=$(($processed + 1)) $file </dev/null >$tmp_output 2>&1 + rc=$? if [ -s $tmp_output ] then - case $? in + case $rc in 0) [ $success = NO ] && output=FALSE;; 1) [ $info = NO ] && output=FALSE;; 2) [ $badconfig = NO ] && output=FALSE;; |
