lib: use command to run rm in upgrade function (#8696)

This commit is contained in:
Marek Dědič 2020-03-03 13:46:06 +01:00 committed by GitHub
parent 4009668500
commit bbe54e4e60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ function uninstall_oh_my_zsh() {
function upgrade_oh_my_zsh() {
env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh"
rm -rf "$ZSH/log/update.lock"
command rm -rf "$ZSH/log/update.lock"
}
function take() {