use wait instead of waitpid

pull/40/head
TomasM 2017-11-07 08:46:51 -05:00
parent 83918bf463
commit cf2b7f38fb
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if [ -r $SND ]; then
SLEEPID=$! SLEEPID=$!
cat $SND > /dev/null # preload whole file cat $SND > /dev/null # preload whole file
aplay $SND & aplay $SND &
waitpid $SLEEPID wait $SLEEPID
fi fi
# Applications you want to run with fluxbox. # Applications you want to run with fluxbox.