From: Giuseppe Lettieri Date: Sun, 18 Aug 2013 10:18:49 +0000 (+0200) Subject: log errors from host command X-Git-Tag: sliver-openvswitch-2.0.90-1~22 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=591cb419cf3694e0ae66a95973e73c61bad9e03d log errors from host command --- diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index 9b36471ea..d62a4c5c8 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -172,8 +172,8 @@ cache/status.%: FORCE @$(SSH) $(HOST_$*) $(SUDO) sliver-ovs status ||: cache/host.%: - @echo "IP lookup for $(call display,$*)" - @host $(HOST_$*) | sed -n '/^.*has address */{s///p;q}' > $@ + @echo "IP lookup for $(call display,$*) - logs in $(call log,$@)" + @host $(HOST_$*) | sed -n 's/^.*has address *//p' > $@ 2> $(call log,$@) cache/db.%: @echo "Starting db server on $(call display,$*) - logs in $(call log,$@)"