Skip to content

Commit

Permalink
no terminal hanging when using restart option (nohup)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaaskarian authored and guillaumeboehm committed Feb 26, 2023
1 parent cfb5daf commit 47e1a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wal-telegram
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ EOF
fi
zip -q ${mode}.tdesktop-theme colors.tdesktop-theme ${bg_mode}.jpg
cp ${mode}.tdesktop-theme "$dest"
[ -n "$restart_on_gen" ] && pkill -f telegram-desktop && telegram-desktop &
[ -n "$restart_on_gen" ] && pkill -f telegram-desktop && nohup telegram-desktop &> /dev/null &
}

main() {
Expand Down

0 comments on commit 47e1a18

Please sign in to comment.