aboutsummaryrefslogtreecommitdiffstats
path: root/src/beaver-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/beaver-util.c')
-rw-r--r--src/beaver-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/beaver-util.c b/src/beaver-util.c
index 0461359..97e27b8 100644
--- a/src/beaver-util.c
+++ b/src/beaver-util.c
@@ -252,6 +252,8 @@ update_env_hash(gchar *filename, GHashTable *hash_configs,
g_debug("Save old ENV: key %s value %s", key, env_value);
if (env_value)
g_hash_table_insert(*old_hash_configs, g_strdup(key), g_strdup(env_value));
+ else
+ g_hash_table_insert(*old_hash_configs, g_strdup(key), g_strdup("null"));
}
}
}