aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-27 20:08:12 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-27 20:08:12 +0200
commit22c10b01ea96a73599896f66b0600c8a60f426e2 (patch)
tree32b5c78574ea74627dd1f1498d5e5ea17030c3a4 /uzbl.c
parenteda205623c4e8ca2bc5879adb76013884d21992c (diff)
g_spawn_command_line_async returns boolean, so logic is inversed
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index de00c5f..91c2cff 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -233,7 +233,7 @@ run_command(const char *command, const char *args) {
gboolean result;
g_string_printf (to_execute, "%s '%s' '%i' '%i' '%s' %s", command, config_file, (int) getpid() , (int) xwin, "/tmp/uzbl_25165827", args);
result = g_spawn_command_line_async (to_execute->str, NULL);
- printf("Called %s. Result: %s\n", to_execute->str, (result ? "FALSE" : "TRUE" ));
+ printf("Called %s. Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" ));
return result;
}