[Daniel Hess]
> fixes Skolelinux bug 1281 (cleaning swap files for thinclients that
> are no longer reachable).
This seemed to work, but he nbdswap-cleanup script printed an error
message about connection refused. I suspect this line:
> + r_port=$(nc $host $NBDQUERY_PORT || echo fail )
What about adding 2>/dev/null like this:
r_port=$(nc $host $NBDQUERY_PORT 2>/dev/null || echo
fail )
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]