Rien faire si restart_cmd vide.
darcs-hash:20041011203756-41617-a79d5d2fd666bbd3d14f290c3667b6b69ffa4b72.gz
This commit is contained in:
parent
3d896bd57e
commit
84fcb44645
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ class gen_config :
|
|||
|
||||
def restart(self) :
|
||||
""" Redémarrage du service concerné """
|
||||
if not self.restart_cmd : return
|
||||
self.lock()
|
||||
self.anim = anim('\trestart')
|
||||
status, output = commands.getstatusoutput(self.restart_cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue