Ticket #790: bcfg2-rc-update.patch

File bcfg2-rc-update.patch, 527 bytes (added by https://www.google.com/accounts/o8/id?id=AItOawmgjcCg7lAJ6ZhqeaZka53jw8AUv8fpG2E, 14 years ago)

Patch to Client/Tools/RcUpdate?.py

  • src/lib/Client/Tools/RcUpdate.py

    old new  
    1717        Verify Service status for entry. 
    1818        Assumes we run in the "default" runlevel. 
    1919        ''' 
    20         rc, output = self.cmd.run('/bin/rc-status | grep %s | grep started' % \ 
     20        rc, output = self.cmd.run('/bin/rc-status -s | grep %s | grep started' % \ 
    2121                                  entry.attrib['name']) 
    2222        status = (rc == 0) 
    2323