NFS test: re-add the fix for the terminal
When debugging, this is still needed as we won't be redirecting out output to /dev/null or a file. However, we need to guard against not having a terminal.master
parent
ba64a17ffd
commit
d462f6dc65
|
@ -16,6 +16,9 @@ run_server() {
|
|||
-initrd initramfs.server -pidfile server.pid -daemonize || return 1
|
||||
sudo chmod 644 server.pid || return 1
|
||||
|
||||
# Cleanup the terminal if we have one
|
||||
tty -s && stty sane
|
||||
|
||||
echo Sleeping 10 seconds to give the server a head start
|
||||
sleep 10
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue