Description of problem: The psacct initscript is returning error code 0 no matter what. Even when is the status, while psacct is not running is returning 0. In additional the initscript don't check error code from /sbin/accton. Version-Release number of selected component (if applicable): psacct-6.3.2-44.fc7 How reproducible: Stop psacct: /etc/init.d/psacct stop and then issue the status command: /etc/init.d/psacct status >/dev/null 2>&1 ; echo $? As psacct is stopped this should return 3, however returns 0 A patch to fix these problems is attached.
Created attachment 158578 [details] Patch to fix error codes from initscript
*** This bug has been marked as a duplicate of 247034 ***