use wait instead of waitpid
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user