mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
ef3071b957
commit
bbe281db55
5 files changed
+5
-2
No files matched your search
@@ -274,7 +274,6 @@ int main()
|
||||
/*
|
||||
* Misc setup
|
||||
*/
|
||||
system("/bin/rm -rf /tmp/* /tmp/.* 2>/dev/null");
|
||||
unlink("/var/run/.clean");
|
||||
unlink("/var/lock/.clean");
|
||||
umask(0);
|
||||
|
||||
Reference in new issue
Block a user