Skip to content

Commit

Permalink
Fix to loop search wait
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Aug 28, 2023
1 parent b562b27 commit fecb49f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bigcontrolcenter/usr/bin/bigcontrolcenter
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ function sh_main {
if (( RELOAD )); then
local cfilestart='main.sh.htm'
if (( PARTIAL )); then
cmdlogger rm -f "$userpath"/custom-*
rm -f "$userpath"/custom-*
else
cmdlogger rm -f "$userpath"/cache*
cmdlogger rm -f "$userpath"/icons/*
cmdlogger rm -f "$userpath"/show_other
cmdlogger rm -f "$userpath"/custom-*
rm -f "$userpath"/cache*
rm -f "$userpath"/icons/*
rm -f "$userpath"/show_other
rm -f "$userpath"/custom-*
fi
# Cria arquivo para ser removido dentro do loop-search e verificado no index.sh.htm quando deve prosseguir
echo '' > "$userpath/reload"
Expand All @@ -157,7 +157,8 @@ function sh_main {
#########################################################
# START CACHE 1
#########################################################
cmdlogger nice -n 15 ./loop-search.sh "$PARTIAL" &
./loop-search.sh "$PARTIAL" &
export Pid_loop_search=$!
fi
QT_QPA_PLATFORM=xcb\
SDL_VIDEODRIVER=x11\
Expand Down

0 comments on commit fecb49f

Please sign in to comment.