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) |
---|
-
src/lib/Client/Tools/RcUpdate.py
old new 17 17 Verify Service status for entry. 18 18 Assumes we run in the "default" runlevel. 19 19 ''' 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' % \ 21 21 entry.attrib['name']) 22 22 status = (rc == 0) 23 23