diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 13:35:17 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 13:35:17 -0400 |
commit | 5ead964cad114989d49114f6a1490faa63b8ce6b (patch) | |
tree | 86bbd135bb89a549645dea5230fef3811904704e /src | |
parent | 7244ebde733e0578d8d617275f1bcaa5947bc935 (diff) |
Print an error message if the environ failed
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 129bb2a..13328d0 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1337,6 +1337,9 @@ run_command (const gchar *command, const guint npre, const gchar **args, printf("Stdout: %s\n", *output_stdout); } } + if (!environ_set) { + g_printerr("failed to set the environment for scripts"); + } if (err) { g_printerr("error on run_command: %s\n", err->message); g_error_free (err); |