summaryrefslogtreecommitdiff
path: root/src/shared/strv.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-11 12:56:51 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-11 13:20:34 +0200
commit71ecc858fa91a686a050bee51804d43865ce1acc (patch)
tree2bb4c6e504a1d3f652e00ce84bd9e1a3c21fd588 /src/shared/strv.h
parent6996295f85a0402b8a72d76c1eab02fb8152f81d (diff)
main: drop container/initrd env vars from inherited set
Leave the env vars used in the container/initrd logic set for PID1, but don't inherit them to any children.
Diffstat (limited to 'src/shared/strv.h')
-rw-r--r--src/shared/strv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h
index d038c9f3b1..9becf9b575 100644
--- a/src/shared/strv.h
+++ b/src/shared/strv.h
@@ -39,6 +39,7 @@ char **strv_merge_concat(char **a, char **b, const char *suffix);
char **strv_append(char **l, const char *s);
char **strv_remove(char **l, const char *s);
+char **strv_remove_prefix(char **l, const char *s);
char **strv_uniq(char **l);
#define strv_contains(l, s) (!!strv_find((l), (s)))