Skip to content
Snippets Groups Projects
Commit cb2f3e28 authored by rds's avatar rds
Browse files

additional check server started...

parent 53de283b
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,11 @@ function zmap_x11_check_xserver
{
zmap_message_out "Variables look like:"
declare -p DISPLAY XAUTHORITY
if [ "x$NO_DISPLAY" == "x1" ]; then
XSERVER_PID=`pidof $XSERVER_PATH`
[ "x$XSERVER_PID" == "x" ] && zmap_message_exit "Server failed to start..."
zmap_message_out "X Server pid = '$XSERVER_PID'"
fi
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment