]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Add missing chdir()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 17 Oct 2015 12:19:54 +0000 (14:19 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 17 Oct 2015 12:19:54 +0000 (14:19 +0200)
scripts/shared/kconfig/lcp_utils.c

index 190c946e39e6724547f78f4db1f460fc618782c3..0470faf6db97570ea60ab76ccab90e3b1ea9bfed 100644 (file)
@@ -14,6 +14,7 @@ void conf_parse_path(const char *name)
 
        chdir(dirname(d));
        conf_parse(basename(f));
+       chdir(olddir);
 
        free(olddir);
        free(d);