aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2010-10-02 13:35:17 -0400
committerGravatar Ben Boeckel <MathStuf@gmail.com>2010-10-02 13:35:17 -0400
commit5ead964cad114989d49114f6a1490faa63b8ce6b (patch)
tree86bbd135bb89a549645dea5230fef3811904704e /src
parent7244ebde733e0578d8d617275f1bcaa5947bc935 (diff)
Print an error message if the environ failed
Diffstat (limited to 'src')
-rw-r--r--src/uzbl-core.c3
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);