From 2a8f2300e9ccd7ad65268bcead3fb1a092b2915c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 4 Apr 2006 20:52:04 +0000 Subject: [PATCH] Fix test for RUNAS variable being non-empty --- etc/yazproxyctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/yazproxyctl.sh b/etc/yazproxyctl.sh index 9b2f2d0..ff116e1 100755 --- a/etc/yazproxyctl.sh +++ b/etc/yazproxyctl.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: yazproxyctl.sh,v 1.2 2004-09-15 20:31:25 adam Exp $ +# $Id: yazproxyctl.sh,v 1.3 2006-04-04 20:52:04 adam Exp $ # YAZ proxy start/stop init.d script. # PATH=/usr/local/bin:/bin:/usr/bin @@ -25,7 +25,7 @@ RUNAS=nobody # Extra args . Config file _WITH_ option ARGS="-c config.xml" -if test -n "RUNAS"; then +if test -n "$RUNAS"; then ARGS="-u $RUNAS $ARGS" fi -- 1.7.10.4