Skip to content
Snippets Groups Projects
Commit 43a7c6fc authored by Ivan Shapovalov's avatar Ivan Shapovalov
Browse files

chroot: unbreak `--path`

Avoid triggering the implied `--status` when `--path` is given.

Fixes: 3c282892 ("chroot: make --status default if no modes are specified")
parent 478183d5
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ fi
# Print paths to container and used makepkg/pacman paths. This does
# not require a priorly created container.
if (( status )) || ! (( update + build + create )); then
if (( status )) || ! (( update + build + create + print_path )); then
printf 'chroot:%s\npacman:%s\nmakepkg:%s\n' "$directory" "$pacman_conf" "$makepkg_conf"
exit 0
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment