fix format

This commit is contained in:
neilpang 2019-03-13 20:49:26 +08:00
parent 77f96b386e
commit 0b04a7f17f

15
acme.sh
View File

@ -4929,13 +4929,12 @@ _installcert() {
__read_password() {
unset _pp
prompt="Enter Password:"
while IFS= read -p "$prompt" -r -s -n 1 char
do
if [ "$char" = $'\0' ]; then
break
fi
prompt='*'
_pp="$_pp$char"
while IFS= read -p "$prompt" -r -s -n 1 char; do
if [ "$char" = $'\0' ]; then
break
fi
prompt='*'
_pp="$_pp$char"
done
echo "$_pp"
}
@ -4985,7 +4984,7 @@ _uninstall_win_taskscheduler() {
_debug "scheduler $_WINDOWS_SCHEDULER_NAME is not found."
else
_info "Removing $_WINDOWS_SCHEDULER_NAME"
echo SCHTASKS /delete /f /tn "$_WINDOWS_SCHEDULER_NAME" | cmd.exe >/dev/null
echo SCHTASKS /delete /f /tn "$_WINDOWS_SCHEDULER_NAME" | cmd.exe >/dev/null
fi
}