feat(shell-sync): send_notification() part 1/3
This commit is contained in:
1 parent
8312c2c6d3
commit
20fc621355
1 file changed
+10
@@ -93,3 +93,13 @@ validate_settings() {
|
||||
fi
|
||||
}
|
||||
|
||||
send_notification() {
|
||||
local subject="$1"
|
||||
local body="$2"
|
||||
local config
|
||||
local -a recipients
|
||||
|
||||
if [ "$NOTIFY_MODE" = "none" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user