Luke Smith 5 роки тому
джерело
коміт
f106dbd363
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 4C50B54A911F6252
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Переглянути файл

@@ -215,7 +215,7 @@ finalize() { \
return 0
}

confirm() { printf "Do you want to to %s? [y/N]\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
confirm() { printf "Do you want to %s? [y/N]\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
printf "Are you really, really sure you want to %s?\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
return 0 ;}



Завантаження…
Відмінити
Зберегти