diff --git a/advanced-usage.md b/advanced-usage.md index f2ccb1d..8b4c27a 100644 --- a/advanced-usage.md +++ b/advanced-usage.md @@ -21,6 +21,7 @@ mkdir -p $MYTMP # force clean it up after job script ends function cleanup() { rm -rf $MYTMP; } trap cleanup EXIT +trap cleanup USR1 # change to it! cd $MYTMP