summaryrefslogtreecommitdiff
path: root/switchctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'switchctl.c')
-rw-r--r--switchctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/switchctl.c b/switchctl.c
index 59f7e8d..ca71d42 100644
--- a/switchctl.c
+++ b/switchctl.c
@@ -928,7 +928,7 @@ int main(int argc, char* argv[])
if(!ret)
log_printf(NOTICE, "normal shutdown");
else if(ret < 0)
- log_printf(NOTICE, "shutdown after error");
+ log_printf(NOTICE, "shutdown after error (code %d)", ret);
else
log_printf(NOTICE, "shutdown after signal");