X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=02bc3eb4b549867f90d168f86bcd9aec160b6fb6;hp=e574b7bcd76f120b39d8aad2d03a56b670002ac1;hb=5b7e4808269f8247a7d147b387007e5d15e0d7c8;hpb=1b7068f8cba6affc8890dc72ccd21c8f63224387 diff --git a/launcher.c b/launcher.c index e574b7b..02bc3eb 100644 --- a/launcher.c +++ b/launcher.c @@ -190,7 +190,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 @@ -419,7 +419,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);