return correct exit status code for enable and disable commands
This commit is contained in:
parent
2d5bd37756
commit
c3c2ed404a
1 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ class WeboobCfg(ReplApplication):
|
||||||
|
|
||||||
Enable a disabled backend
|
Enable a disabled backend
|
||||||
"""
|
"""
|
||||||
self._do_toggle(name, 1)
|
return self._do_toggle(name, 1)
|
||||||
|
|
||||||
def do_disable(self, name):
|
def do_disable(self, name):
|
||||||
"""
|
"""
|
||||||
|
|
@ -167,7 +167,7 @@ class WeboobCfg(ReplApplication):
|
||||||
|
|
||||||
Disable a backend
|
Disable a backend
|
||||||
"""
|
"""
|
||||||
self._do_toggle(name, 0)
|
return self._do_toggle(name, 0)
|
||||||
|
|
||||||
def do_edit(self, line):
|
def do_edit(self, line):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue