1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-09 15:39:03 -08:00

fix dumb issue with zsh parsing or whatever in notice

This commit is contained in:
Connor Olding 2024-07-23 10:46:59 -07:00
parent bd7f91c7a3
commit f85dade403

View file

@ -333,7 +333,7 @@ __notice_upload() {
__notice_read_conf() {
# TODO: ensure conf file is unreadable by others?
while read -r line; do
line="${line%%#*}" # strip comments
line="${line%%"#"*}" # strip comments
line="${line#"${line%%[! ]*}"}" # strip left
line="${line%"${line##*[! ]}"}" # strip right
if [ "${line#gotify=}" != "$line" ]; then