This website requires JavaScript.
CODE
0x495fab29
Explore
Sign in
forks
/
apenwarr-redo
Watch
1
Star
0
Fork
You've already forked apenwarr-redo
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1f79bf1174
apenwarr-redo
/
t
/
202-del
/
all.do
1 line
31 B
Text
Raw
Normal View
History
Unescape
Escape
Detect when a .do script deletes its stdout tmp file. This can happen if we create the .tmp file in the same directory as the target, and the .do file first does "rm -rf" on that directory, then re-creates it. The result is that the stdout file is lost. We'll make this a warning if the .do script *didn't* write to stdout (so the loss is harmless, just weird), and an error if they *did* write to stdout, which we can detect because we still have an open fd on the file, so we can fstat() it.
2018-12-12 03:36:09 +00:00
redo deltest deltest2 deltest3
Reference in a new issue
Copy permalink