Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
0b04a7f1
Commit
0b04a7f1
authored
Mar 13, 2019
by
neilpang
Browse files
fix format
parent
77f96b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
0b04a7f1
...
@@ -4929,13 +4929,12 @@ _installcert() {
...
@@ -4929,13 +4929,12 @@ _installcert() {
__read_password
()
{
__read_password
()
{
unset
_pp
unset
_pp
prompt
=
"Enter Password:"
prompt
=
"Enter Password:"
while
IFS
=
read
-p
"
$prompt
"
-r
-s
-n
1 char
while
IFS
=
read
-p
"
$prompt
"
-r
-s
-n
1 char
;
do
do
if
[
"
$char
"
=
$'
\0
'
]
;
then
if
[
"
$char
"
=
$'
\0
'
]
;
then
break
break
fi
fi
prompt
=
'*'
prompt
=
'*'
_pp
=
"
$_pp$char
"
_pp
=
"
$_pp$char
"
done
done
echo
"
$_pp
"
echo
"
$_pp
"
}
}
...
@@ -4985,7 +4984,7 @@ _uninstall_win_taskscheduler() {
...
@@ -4985,7 +4984,7 @@ _uninstall_win_taskscheduler() {
_debug
"scheduler
$_WINDOWS_SCHEDULER_NAME
is not found."
_debug
"scheduler
$_WINDOWS_SCHEDULER_NAME
is not found."
else
else
_info
"Removing
$_WINDOWS_SCHEDULER_NAME
"
_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
fi
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment