[Fai-commit] r4536 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Tue Aug 28 15:03:23 UTC 2007
Author: lange
Date: 2007-08-28 15:03:23 +0000 (Tue, 28 Aug 2007)
New Revision: 4536
Modified:
trunk/lib/subroutines-linux
Log:
add timeout to nc call
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2007-08-28 09:45:26 UTC (rev 4535)
+++ trunk/lib/subroutines-linux 2007-08-28 15:03:23 UTC (rev 4536)
@@ -306,7 +306,7 @@
# send message to monitor daemon
[ "$faimond" -eq 0 ] && return 0
- echo "$sendhostname $*" | nc $monserver 4711 2>/dev/null
+ echo "$sendhostname $*" | nc -w 8 $monserver 4711 2>/dev/null
return $?
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list