mirror of
https://github.com/troglobit/finit.git
synced 2026-10-11 17:02:42 +07:00
Replace remaining system("touch") with touch() (by Metalshark)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
0.2 ()
|
||||
- replace system("touch") with touch() in finit-mod (Metalshark)
|
||||
|
||||
|
||||
0.1 (20081214)
|
||||
|
||||
+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