aboutsummaryrefslogtreecommitdiff
path: root/src/librc-misc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-19 21:44:55 +0000
committerRoy Marples <roy@marples.name>2007-07-19 21:44:55 +0000
commit76f2391ecea775b6d84299620bd1ac18d22b2564 (patch)
tree09f33db8a20cc2d7d1d538b14456d84350852274 /src/librc-misc.c
parent26d11b33cf4dc9d15688c734632ea850c6d2e3d3 (diff)
Skip some files in env-update like portage env-update for more robustness
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r--src/librc-misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c
index fd1282ad..b52c2507 100644
--- a/src/librc-misc.c
+++ b/src/librc-misc.c
@@ -331,6 +331,7 @@ char **rc_get_config (char **list, const char *file)
/* Get entry */
token = strsep (&p, "=");
+
if (! token)
continue;