diff --git a/src/cmdlib.sh b/src/cmdlib.sh index 37041a27b4..e477a628ad 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -845,6 +845,10 @@ EOF fi rc="$(cat "${rc_file}")" + # XXX: this is for debugging temporarily + if [ -n "${TAIL_SLEEP:-}" ]; then + sleep "${TAIL_SLEEP}" + fi # cleanup tail before nuking dir containing file it's following kill "$tail_pid"