Blob Blame History Raw
From f3e54e0678ed5cf42ce21ef83cf4640889db1f5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Thu, 12 Sep 2013 10:03:16 -0400
Subject: [PATCH] Actually allow tabs in environment files

Fixup for ac4c8d6da8b5e.
---
 src/shared/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/util.c b/src/shared/util.c
index 113133f22a..c9e9b87228 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5274,7 +5274,7 @@ bool string_has_cc(const char *p) {
         assert(p);
 
         for (t = p; *t; t++)
-                if (*t > 0 && *t < ' ')
+                if (*t > 0 && *t < ' ' && *t != '\t')
                         return true;
 
         return false;