mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
Replace remaining system("touch") with touch() (by Metalshark)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
16ef455fb1
commit
1d4d7df3cc
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -287,7 +287,7 @@ void shutdown(int sig)
|
||||
{
|
||||
int fd;
|
||||
|
||||
system("/usr/bin/touch /tmp/shutdown");
|
||||
touch("/tmp/shutdown");
|
||||
|
||||
kill(-1, SIGTERM);
|
||||
|
||||
|
||||
Reference in new issue
Block a user