diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-01-13 11:34:30 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-01-13 11:34:30 (GMT) |
commit | fc6cdc4904033561357d82e900d6e36b0e391125 (patch) | |
tree | 9f9327059184615161d11b0bdb3ebfa7a487631b /stdioclient.c | |
parent | 68194820226407465d2ad10dff69954485eb200c (diff) |
print return code when return with error
Diffstat (limited to 'stdioclient.c')
-rw-r--r-- | stdioclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdioclient.c b/stdioclient.c index cfdba7a..5993282 100644 --- a/stdioclient.c +++ b/stdioclient.c @@ -179,7 +179,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"); |