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:
parent
bd7f91c7a3
commit
f85dade403
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue