Skip to content
Unverified Commit 5c1a5c6c authored by M. Yas. Davoodeh's avatar M. Yas. Davoodeh Committed by GitHub
Browse files

update: prefix rm call with command in trap (#9107)

* Suppress the problematic trap output in check_upg

The newly added trap, in systems where `rm` is aliased to `rm="rm -v"`,
shows a message stating that "update.lock" has been removed each time `zsh` is called.
I simply suppressed it with directing the output to `/dev/null`.

* Use `command` instead of >/dev/null to suppress
parent e3131d98
Loading
Loading
Loading
Loading
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