Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Put the 'uustat -a' into double quotes.



details:   https://anonhg.NetBSD.org/src/rev/39009913de23
branches:  trunk
changeset: 515934:39009913de23
user:      veego <veego%NetBSD.org@localhost>
date:      Tue Oct 09 05:28:42 2001 +0000

description:
Put the 'uustat -a' into double quotes.
It still doesn't work, but you won't get the error about an Unknown option: `-a'
anymore.

The login shell for uucp is /usr/libexec/uucp/uucico, so su -m doesn't work.
This needs to be fixed.

diffstat:

 etc/daily |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 6ce1e00a37d4 -r 39009913de23 etc/daily
--- a/etc/daily Tue Oct 09 05:19:03 2001 +0000
+++ b/etc/daily Tue Oct 09 05:28:42 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: daily,v 1.38 2001/09/17 23:41:32 hubertf Exp $
+#      $NetBSD: daily,v 1.39 2001/10/09 05:28:42 veego Exp $
 #      @(#)daily       8.2 (Berkeley) 1/25/94
 #
 
@@ -172,7 +172,7 @@
 rm -f $TMP
 
 if checkyesno check_uucp && [ -d /var/spool/uucp ]; then
-       su -m uucp -c uustat -a > $TMP
+       su -m uucp -c "uustat -a" > $TMP
        if [ -s $TMP ]; then
                echo ""
                echo "uucp:"



Home | Main Index | Thread Index | Old Index