use wait instead of waitpid
parent
83918bf463
commit
cf2b7f38fb
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue