diff options
author | 2018-10-09 04:39:22 -0500 | |
---|---|---|
committer | 2018-10-15 23:39:34 -0500 | |
commit | fd79cb3be6aa2e62d5a7ec45eee39dcd07a9d4f3 (patch) | |
tree | 0d22e973c1c2e51cccc0be9481873a056127a9fe /src/firejail/profile.c | |
parent | tentative fix: automatically mount libdir in chroot - #2176 (diff) | |
download | firejail-fd79cb3be6aa2e62d5a7ec45eee39dcd07a9d4f3.tar.gz firejail-fd79cb3be6aa2e62d5a7ec45eee39dcd07a9d4f3.tar.zst firejail-fd79cb3be6aa2e62d5a7ec45eee39dcd07a9d4f3.zip |
rename expand_home -> expand_macros to better reflect usage and remove unneeded homedir argument.
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index db58d2e0b..f70c0c9d1 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -1327,7 +1327,7 @@ void profile_read(const char *fname) { | |||
1327 | char *newprofile = ptr + 8; // profile name | 1327 | char *newprofile = ptr + 8; // profile name |
1328 | 1328 | ||
1329 | // expand ${HOME}/ in front of the new profile file | 1329 | // expand ${HOME}/ in front of the new profile file |
1330 | char *newprofile2 = expand_home(newprofile, cfg.homedir); | 1330 | char *newprofile2 = expand_macros(newprofile); |
1331 | 1331 | ||
1332 | // recursivity | 1332 | // recursivity |
1333 | profile_read((newprofile2)? newprofile2:newprofile); | 1333 | profile_read((newprofile2)? newprofile2:newprofile); |