From 79b02c90feb869488779700ee0eaa9893a741c3a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 17 Oct 2020 10:55:38 +0200 Subject: [PATCH] Print container status as value, not the whole enum member --- usr/bin/spoc-container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/spoc-container b/usr/bin/spoc-container index e2419eb..e7e4ff2 100755 --- a/usr/bin/spoc-container +++ b/usr/bin/spoc-container @@ -100,7 +100,7 @@ def stop(container_name): def status(container_name): # Prints current running status of the container - print(Container(container_name).get_state()) + print(Container(container_name).get_state().value) def execute(container_name, command, uid, gid): # Execute a command in container's namespace