canary: print exit status and command to stderr