Use timeout.

This commit is contained in:
Dave Davenport 2016-01-08 23:15:28 +01:00
parent 6dd837af88
commit 06c7f30b7e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function create_fake_x ( )
Xvfb ${DISPLAY} &
XPID=$!
sleep 1;
fluxbox &
timeout -k 30s 30s fluxbox &
FPID=$!
sleep 1
}