From 2ee470a71fdc3707cf4e093b22ab0f46ffab82e2 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Fri, 27 May 2011 17:39:38 +0200 Subject: [PATCH] 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 --- tests/child-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/child-test.c b/tests/child-test.c index b6785728a..a6e307dfa 100644 --- a/tests/child-test.c +++ b/tests/child-test.c @@ -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;