[d] Fix bug on restart

This commit is contained in:
Blallo 2018-09-21 16:39:20 +02:00
parent 9c5a8f4379
commit 40b853d71a

View file

@ -122,7 +122,7 @@ def restart(services):
print('Valid services are: ' + ', '.join(valid), file=sys.stderr)
return False
for service in services:
subprocess.check_call((COMPOSE + 'restart %s' % service).split())
subprocess.check_call((COMPOSE + ' restart %s' % service).split())
return True