hal/hald-runner runner.c,1.5,1.6
Richard Hughes
hughsient at freedesktop.org
Sun Jan 29 07:03:29 PST 2006
Update of /cvs/hal/hal/hald-runner
In directory gabe:/tmp/cvs-serv25362/hald-runner
Modified Files:
runner.c
Log Message:
2006-01-29 Richard Hughes <richard at hughsie.com>
* hald-runner/runner.c (run_request_run): Use r->argv[0] rather than r->argv so the cwd works.
Index: runner.c
===================================================================
RCS file: /cvs/hal/hal/hald-runner/runner.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- runner.c 28 Jan 2006 22:20:36 -0000 1.5
+++ runner.c 29 Jan 2006 15:03:27 -0000 1.6
@@ -241,7 +241,7 @@
program_exists = find_program(r->argv);
if (program_exists)
- program_dir = g_path_get_dirname (r->argv);
+ program_dir = g_path_get_dirname (r->argv[0]);
if (!program_exists ||
!g_spawn_async_with_pipes(program_dir, r->argv, r->environment,
More information about the hal-commit
mailing list