mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
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:
parent
5d7b67a6c3
commit
2ee470a71f
@ -175,7 +175,7 @@ main (int argc, char *argv[])
|
|||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
system ("ipconfig /all");
|
system ("ipconfig /all");
|
||||||
#else
|
#else
|
||||||
system ("/bin/true");
|
system ("true");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
alive = 2;
|
alive = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user