[yast-commit] r39759 - /trunk/installation/src/clients/inst_network_setup.ycp
Author: locilka Date: Mon Jul 30 12:06:22 2007 New Revision: 39759 URL: http://svn.opensuse.org/viewcvs/yast?rev=39759&view=rev Log: Even better (correct ;)) curl command Modified: trunk/installation/src/clients/inst_network_setup.ycp Modified: trunk/installation/src/clients/inst_network_setup.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_network_setup.ycp?rev=39759&r1=39758&r2=39759&view=diff ============================================================================== --- trunk/installation/src/clients/inst_network_setup.ycp (original) +++ trunk/installation/src/clients/inst_network_setup.ycp Mon Jul 30 12:06:22 2007 @@ -1127,7 +1127,10 @@ "http://www.opensuse.org", "http://www.suse.com" ], { - string cmd = sformat ("curl --header --max-time=45 --connect-timeout 30 '%1' 1>/dev/null", String::Quote (www_address)); + string cmd = sformat ( + "curl --silent --show-error --max-time 45 --connect-timeout 30 '%1' 1>/dev/null", + String::Quote (www_address) + ); map run_cmd = (map) SCR::Execute (.target.bash_output, cmd); y2milestone ("Running %1 returned %2", cmd, run_cmd); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org