fix format

This commit is contained in:
neilpang committed 2019-03-13 20:49:26 +08:00
1 parent 77f96b386e
commit 0b04a7f17f
1 file changed
+7 -8
+7 -8
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
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.