Bug 54871

Summary: print status twice when using "--user" parameter
Product: [Retired] Red Hat Linux Reporter: Daniel Chan <commando>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-22 09:29:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Chan 2001-10-22 09:29:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. daemon --user ois tomcat start

	

Additional info:

= /etc/rc.d/init.d/functions =========================================
        # And start it up.
        if [ -z "$user" ]; then
           $nice initlog $INITLOG_ARGS -c "$*"
        else
           $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" && 
success $"$b
ase startup" || failure $"$base startup"
        fi
        [ $? = 0 ] && success $"$base startup" || failure $"$base startup"
= EOF ================================================================

print status twice when using "--user" parameter.

Comment 1 Bill Nottingham 2002-01-25 04:50:32 UTC
Fixed in 6.51-1, thanks!