Skip to content
Snippets Groups Projects
Commit d84b4cf0 authored by Bensong Liu's avatar Bensong Liu
Browse files

adjust pacman log path

parent 973a7436
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ while true; do
# We need to send everything into stderr, as aurpar debug output.
# We also need to grep keyword from stdout, to detect lock failure.
# TODO: tee /dev/stderr permission denied.
"$aurpar_config_pacman_path" "$@" --noconfirm 3>&1 1>&2 2>&3 | tee /dev/stderr | grep -F "$aurpar_config_lock_path" > /dev/null
"$aurpar_config_pacman_path" "$@" --noconfirm 3>&1 1>&2 2>&3 | tee -a "/tmp/aurpar-pacman.log" | grep -F "$aurpar_config_lock_path" > /dev/null
pacman_ret=${PIPESTATUS[0]}
grep_ret=${PIPESTATUS[1]}
......
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