summaryrefslogtreecommitdiff
path: root/debian/patches/99-kfreebsd-empty-env.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/99-kfreebsd-empty-env.patch')
-rw-r--r--debian/patches/99-kfreebsd-empty-env.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/99-kfreebsd-empty-env.patch b/debian/patches/99-kfreebsd-empty-env.patch
index 4ed65ea..ebab639 100644
--- a/debian/patches/99-kfreebsd-empty-env.patch
+++ b/debian/patches/99-kfreebsd-empty-env.patch
@@ -1,9 +1,9 @@
---- consolekit/src/ck-sysdeps-freebsd.c
-+++ consolekit/src/ck-sysdeps-freebsd.c
+--- a/src/ck-sysdeps-freebsd.c
++++ b/src/ck-sysdeps-freebsd.c
@@ -261,6 +261,8 @@
for (i = 0; penv[i] != NULL; i++) {
char **vals;
-
+
+ if (!penv[i][0]) continue;
+
vals = g_strsplit (penv[i], "=", 2);