Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created December 9, 2012 23:30
Show Gist options
  • Save grahamc/4247495 to your computer and use it in GitHub Desktop.
Save grahamc/4247495 to your computer and use it in GitHub Desktop.
#!/bin/bash
foobar --your test
TESTSTAT=$?
tar -cf logs/ logs.tar
exit $TESTSTAT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment