Browse Source

[d] Fix bug on restart

Blallo 5 năm trước cách đây
mục cha
commit
40b853d71a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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