diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1996-03-05 15:41:02 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1996-03-05 15:41:02 +0000 |
commit | 5cab6d318751b12da4d2988bea6ff5d2646fca0f (patch) | |
tree | 39b1740d88551661dfebd8fc86c4512919b82587 /usr.sbin/rpc.yppasswdd | |
parent | 1821ce26bfb07fbb055fbc5bc506cdbefafa808d (diff) | |
download | src-5cab6d318751b12da4d2988bea6ff5d2646fca0f.tar.gz src-5cab6d318751b12da4d2988bea6ff5d2646fca0f.zip |
Make yppwupdate script redirect stderr to stdout; if we don't do this,
the error messages (if any) from yppush will end up on the system console
instead of the /var/yp/ypupdate.log file.
Notes
Notes:
svn path=/head/; revision=14390
Diffstat (limited to 'usr.sbin/rpc.yppasswdd')
-rw-r--r-- | usr.sbin/rpc.yppasswdd/yppwupdate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppwupdate b/usr.sbin/rpc.yppasswdd/yppwupdate index 7a768802d9cf..b88375666e21 100644 --- a/usr.sbin/rpc.yppasswdd/yppwupdate +++ b/usr.sbin/rpc.yppasswdd/yppwupdate @@ -8,7 +8,7 @@ # # Comment out the LOG=yes line to disable logging. # -# $Id: yppwupdate,v 1.2 1996/02/09 04:21:10 wpaul Exp $ +# $Id: yppwupdate,v 1.1.1.1 1996/02/12 15:09:01 wpaul Exp $ # LOG=yes @@ -27,7 +27,7 @@ fi if [ ! $LOG ]; then - cd /var/yp; /usr/bin/make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 + cd /var/yp; /usr/bin/make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 2>&1 else - cd /var/yp; /usr/bin/make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 >> $LOGFILE + cd /var/yp; /usr/bin/make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 >> $LOGFILE 2>&1 fi |