diff --git a/Changelog b/Changelog index b484e3aa..ba7fe352 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ 0.2 () + - replace system("touch") with touch() in finit-mod (Metalshark) 0.1 (20081214) diff --git a/finit-mod.c b/finit-mod.c index b40955d3..3f3eed4d 100644 --- a/finit-mod.c +++ b/finit-mod.c @@ -287,7 +287,7 @@ void shutdown(int sig) { int fd; - system("/usr/bin/touch /tmp/shutdown"); + touch("/tmp/shutdown"); kill(-1, SIGTERM);