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

add a TODO

parent 2571b48d
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,10 @@ while true; do
# Wait for the lock.
[[ -f "$aurpar_config_lock_path" ]] && continue
# Launch real pacman, swap stdout and stderr.
# Launch real pacman, swap stdout and stderr.
# 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
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