diff --git a/plugins/php/index.py b/plugins/php/index.py index 07a32a82c..82165102b 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -302,6 +302,8 @@ def initdInstall(version): return "Apple Computer does not support" mw.execShell('systemctl enable php' + version) + if data[0] == '': + return 'fail' return 'ok' @@ -310,6 +312,8 @@ def initdUinstall(version): return "Apple Computer does not support" mw.execShell('systemctl disable php' + version) + if data[0] == '': + return 'fail' return 'ok'