Explorar el Código

[d] Fix bug on restart

Blallo hace 5 años
padre
commit
40b853d71a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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