Skip to content

Commit

Permalink
Log trigger plugin to more easily see which test was triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybruess committed Sep 9, 2016
1 parent b6d56ee commit 80910f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/pt-stalk-raingauge
Expand Up @@ -1110,8 +1110,9 @@ stalk() {
"$margin"
if [ $? -eq 0 ]; then
# There should be enough disk space, so collect.
log "$msg" >> "$OPT_DEST/$prefix-trigger"
log "pt-stalk ran with $RAN_WITH" >> "$OPT_DEST/$prefix-trigger"
log "$msg" >> "$OPT_DEST/$prefix-trigger"
log "pt-stalk ran with $RAN_WITH" >> "$OPT_DEST/$prefix-trigger"
log "$(declare -f $TRIGGER_FUNCTION)" >> "$OPT_DEST/$prefix-trigger"
last_prefix="$prefix"

# Fork and background the collect subroutine which will
Expand Down

0 comments on commit 80910f7

Please sign in to comment.