Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
80af3d6a
Commit
80af3d6a
authored
Jul 22, 2019
by
neilpang
Browse files
minor
parent
93d29a97
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/pushover.sh
View file @
80af3d6a
...
...
@@ -42,7 +42,6 @@ pushover_send() {
PUSHOVER_SOUND
=
"
${
PUSHOVER_SOUND
:-
$(
_readaccountconf_mutable PUSHOVER_SOUND
)
}
"
if
[
"
$PUSHOVER_SOUND
"
]
;
then
PUSHOVER_SOUND
=
""
# Play default if not specified.
_saveaccountconf_mutable PUSHOVER_SOUND
"
$PUSHOVER_SOUND
"
fi
...
...
@@ -54,7 +53,7 @@ pushover_send() {
response
=
""
#just make shellcheck happy
if
_post
"
$_data
"
"
$PUSHOVER_URI
"
;
then
if
_contains
"
$response
"
"{
\"
status
\"
:1"
;
then
_info
"PUSHOVER send sccess."
_info
"PUSHOVER send s
u
ccess."
return
0
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