Skip to content

Commit

Permalink
Fix #881
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Jun 3, 2024
1 parent 1c05283 commit c893047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/rmkit/launcherctl-remux
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ remux_ppid() {
grep "PPid:" "/proc/$(remux_pid)/status" | awk '{print $2}'
}
draft_apps() {
find {/opt,}/etc/draft -maxdepth 1 -type f | while read -r file; do
find {/opt,}/etc/draft -maxdepth 1 -type f 2> /dev/null | while read -r file; do
name="$(grep 'name=' "$file" | sed 's|^name=||')"
call="$(grep 'call=' "$file" | sed 's|^call=||')"
echo -e "${name}\t${call}"
Expand Down Expand Up @@ -89,7 +89,7 @@ case "$1" in
systemctl disable remux.service
;;
apps)
find {/opt,}/etc/draft -maxdepth 1 -type f | while read -r file; do
find {/opt,}/etc/draft -maxdepth 1 -type f 2> /dev/null | while read -r file; do
grep 'name=' "$file" | sed 's|^name=||'
done
;;
Expand Down

0 comments on commit c893047

Please sign in to comment.