commit c5ebf51eb817bafd7a28b5ef41b974001e52bbfd Author: Peter Palfrader peter@palfrader.org Date: Wed Feb 4 16:55:22 2015 +0100
errors go to fd2 --- guardfraction_cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guardfraction_cron.sh b/guardfraction_cron.sh index f133161..a5d5f75 100755 --- a/guardfraction_cron.sh +++ b/guardfraction_cron.sh @@ -26,7 +26,7 @@ GUARDFRACTION_OUTPUT_FILE="$STATE_DIR/guardfraction.output" # Use flock to avoid parallel runs of the script exec 9< "$STATE_DIR" if ! flock -n -e 9; then - echo >&5 "LOCK-ERROR" + echo >&2 "LOCK-ERROR" exit 1 fi
tor-commits@lists.torproject.org