[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stable-update-proposal: debian-edu-config

[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

Reply to: