diff --git a/bin/fproc_cache.rc b/bin/fproc_cache.rc index 50bcc63..6d419e4 100755 --- a/bin/fproc_cache.rc +++ b/bin/fproc_cache.rc @@ -12,6 +12,7 @@ mkdir -p $cachedir >[2]/dev/null if(test -s $cachedir/$proc) cat $cachedir/$proc if not { + # XXX For reliability mv should not be called unless both $proc and tee suceed $proc < $tmpfile | tee $cachedir/$pid mv $cachedir/$pid $cachedir/$proc }