X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=67598139b9c78f9f3dc52e04cf1f3ce93687b5ce;hp=feef231b9ddf6fb7f03b8fbc773feeeed26a87e6;hb=8aa7920c7abe393c89180034875a72a1a14a8d3d;hpb=30d5e7a1400fb294e75e2199e3a4de5176e84506 diff --git a/launcher.c b/launcher.c index feef231..6759813 100644 --- a/launcher.c +++ b/launcher.c @@ -179,7 +179,7 @@ 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 @@ -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);