neilpang 6 年之前
父节点
当前提交
80af3d6ada
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      notify/pushover.sh

+ 1 - 2
notify/pushover.sh

@@ -42,7 +42,6 @@ pushover_send() {
 
 
   PUSHOVER_SOUND="${PUSHOVER_SOUND:-$(_readaccountconf_mutable PUSHOVER_SOUND)}"
   PUSHOVER_SOUND="${PUSHOVER_SOUND:-$(_readaccountconf_mutable PUSHOVER_SOUND)}"
   if [ "$PUSHOVER_SOUND" ]; then
   if [ "$PUSHOVER_SOUND" ]; then
-    PUSHOVER_SOUND="" # Play default if not specified.
     _saveaccountconf_mutable PUSHOVER_SOUND "$PUSHOVER_SOUND"
     _saveaccountconf_mutable PUSHOVER_SOUND "$PUSHOVER_SOUND"
   fi
   fi
 
 
@@ -54,7 +53,7 @@ pushover_send() {
   response="" #just make shellcheck happy
   response="" #just make shellcheck happy
   if _post "$_data" "$PUSHOVER_URI"; then
   if _post "$_data" "$PUSHOVER_URI"; then
     if _contains "$response" "{\"status\":1"; then
     if _contains "$response" "{\"status\":1"; then
-      _info "PUSHOVER send sccess."
+      _info "PUSHOVER send success."
       return 0
       return 0
     fi
     fi
   fi
   fi