diff options
author | DuClare <akarinotengoku@gmail.com> | 2009-05-17 14:38:41 +0300 |
---|---|---|
committer | DuClare <akarinotengoku@gmail.com> | 2009-05-17 14:38:41 +0300 |
commit | 34a71032d48d22ba328c465a174e305512a259eb (patch) | |
tree | a9fff65a5086bde9ef711d238242f208ef41f389 /uzbl.c | |
parent | 8ef2b13ec077dcf691e09742cbb12baaf6de29b8 (diff) |
Report spawns on verbose only.
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -742,7 +742,8 @@ run_command (const char *command, const char *args, const gboolean sync, char ** if (sync) { result = g_spawn_command_line_sync (to_execute->str, stdout, NULL, NULL, &err); } else result = g_spawn_command_line_async (to_execute->str, &err); - printf("Called %s. Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" )); + if (uzbl.state.verbose) + printf("Called %s. Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" )); g_string_free (to_execute, TRUE); if (err) { g_printerr("error on run_command: %s\n", err->message); |