aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/core/environment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/core/environment.c b/src/lib/core/environment.c
index 057d89e..79dd559 100644
--- a/src/lib/core/environment.c
+++ b/src/lib/core/environment.c
@@ -291,8 +291,7 @@ char *runtime_expand_var(RuntimeEnv *env, char *input) {
// If there's no environment variables to process return the input string
if (strchr(input, delim) == NULL) {
- //return strdup(input);
- return input;
+ return strdup(input);
}
expanded = calloc(STASIS_BUFSIZ, sizeof(char));