X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=67598139b9c78f9f3dc52e04cf1f3ce93687b5ce;hp=93cce2f4c6695caaa690f865dd0492b2a7a4fd4a;hb=8aa7920c7abe393c89180034875a72a1a14a8d3d;hpb=17853b6cdd152a6c53a3e3e11506e3a780e4991c diff --git a/launcher.c b/launcher.c index 93cce2f..6759813 100644 --- a/launcher.c +++ b/launcher.c @@ -179,13 +179,13 @@ void launch_microb(struct swb_context *ctx, char *uri) { printf("launch_microb with uri '%s'\n", uri); /* Launch browserd if it's not running */ - status = system("pidof /usr/sbin/browserd > /dev/null"); + status = system("pidof browserd > /dev/null"); if (WIFEXITED(status) && WEXITSTATUS(status)) { kill_browserd = 1; #ifdef FREMANTLE - system("/usr/sbin/browserd -d -b"); + system("/usr/sbin/browserd -d -b > /dev/null 2>&1"); #else - system("/usr/sbin/browserd -d"); + system("/usr/sbin/browserd -d > /dev/null 2>&1"); #endif } @@ -408,7 +408,7 @@ void launch_microb(struct swb_context *ctx, char *uri) { /* Kill off browserd if we started it */ if (kill_browserd) - system("kill `pidof /usr/sbin/browserd`"); + system("kill `pidof browserd`"); if (!ctx || !ctx->continuous_mode) exit(0);