diff options
Diffstat (limited to 'src/firejail/main.c')
-rw-r--r-- | src/firejail/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 601999db5..3a2da0852 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -1222,7 +1222,7 @@ int main(int argc, char **argv) { | |||
1222 | } | 1222 | } |
1223 | if (!custom_profile) { | 1223 | if (!custom_profile) { |
1224 | // look for a user profile in /etc/firejail directory | 1224 | // look for a user profile in /etc/firejail directory |
1225 | int rv = profile_find(cfg.command_name, "/etc/firejail"); | 1225 | int rv = profile_find(cfg.command_name, SYSCONFDIR); |
1226 | custom_profile = rv; | 1226 | custom_profile = rv; |
1227 | } | 1227 | } |
1228 | } | 1228 | } |
@@ -1252,7 +1252,7 @@ int main(int argc, char **argv) { | |||
1252 | 1252 | ||
1253 | if (!custom_profile) { | 1253 | if (!custom_profile) { |
1254 | // look for the profile in /etc/firejail directory | 1254 | // look for the profile in /etc/firejail directory |
1255 | custom_profile = profile_find(profile_name, "/etc/firejail"); | 1255 | custom_profile = profile_find(profile_name, SYSCONFDIR); |
1256 | } | 1256 | } |
1257 | 1257 | ||
1258 | if (custom_profile && !arg_quiet) | 1258 | if (custom_profile && !arg_quiet) |