diff options
author | Bill Nottingham <notting@redhat.com> | 2002-01-25 04:50:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-01-25 04:50:22 +0000 |
commit | 5f91fc795c783d58d602140a676967b66e9994e8 (patch) | |
tree | 2732d29db51aab0bfe77651d94f3971c8cec2b9c /rc.d | |
parent | ce9b1cc2142093ad5342bebefadee1b72164670a (diff) | |
download | initscripts-5f91fc795c783d58d602140a676967b66e9994e8.tar initscripts-5f91fc795c783d58d602140a676967b66e9994e8.tar.gz initscripts-5f91fc795c783d58d602140a676967b66e9994e8.tar.bz2 initscripts-5f91fc795c783d58d602140a676967b66e9994e8.tar.xz initscripts-5f91fc795c783d58d602140a676967b66e9994e8.zip |
fix double echo when using --user (#54871)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 783bb815..d8bbea80 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -138,7 +138,7 @@ daemon() { if [ -z "$user" ]; then $nice initlog $INITLOG_ARGS -c "$*" else - $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" && success $"$base startup" || failure $"$base startup" + $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" fi [ "$?" -eq 0 ] && success $"$base startup" || failure $"$base startup" } |