Don't hardcode path to true(1).

true(1) is not always installed under /bin so leave system() find
it in the PATH.

https://bugzilla.gnome.org/show_bug.cgi?id=651219
This commit is contained in:
Antoine Jacoutot 2011-05-27 17:39:38 +02:00 committed by Matthias Clasen
parent 5d7b67a6c3
commit 2ee470a71f

View File

@ -175,7 +175,7 @@ main (int argc, char *argv[])
#ifdef G_OS_WIN32
system ("ipconfig /all");
#else
system ("/bin/true");
system ("true");
#endif
alive = 2;