We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd2d05f commit d30f408Copy full SHA for d30f408
pyinfra/operations/freebsd/service.py
@@ -106,7 +106,7 @@ def service(
106
elif state == ServiceStates.SRV_CUSTOM:
107
args.append(QuoteString(srvname))
108
109
- if not isinstance(command, str):
+ if isinstance(command, str):
110
command = [command]
111
112
args.extend((QuoteString(c) for c in command))
0 commit comments