]> git.armaanb.net Git - opendoas.git/blobdiff - env.c
clarify that -L will exit without running a command.
[opendoas.git] / env.c
diff --git a/env.c b/env.c
index 42a0d2e1856f8c766c87338ef95b5bd33d74bf3f..e4e1c4317dab3a8b717e578d0802c1b912d3fb24 100644 (file)
--- a/env.c
+++ b/env.c
@@ -82,7 +82,7 @@ createenv(struct rule *rule)
        env->count = 0;
 
        if (rule->options & KEEPENV) {
-               extern const char **environ;
+               extern char **environ;
 
                for (i = 0; environ[i] != NULL; i++) {
                        struct envnode *node;