Browse Source

[d] Fix bug on restart

Blallo 5 years ago
parent
commit
40b853d71a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dodo.py

+ 1 - 1
dodo.py

@@ -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