Author: aschnell Date: Thu Apr 10 13:27:13 2008 New Revision: 46335 URL: http://svn.opensuse.org/viewcvs/yast?rev=46335&view=rev Log: - use tostring Modified: trunk/yast2/library/log/src/LogViewCore.ycp Modified: trunk/yast2/library/log/src/LogViewCore.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/log/src/LogViewCore... ============================================================================== --- trunk/yast2/library/log/src/LogViewCore.ycp (original) +++ trunk/yast2/library/log/src/LogViewCore.ycp Thu Apr 10 13:27:13 2008 @@ -107,8 +107,10 @@ { data = d; - list<string> args = [ "--retry", "-n", sformat("%1", data["max_lines"]:max_lines_default), - "-f", data["file"]:"" ]; + integer max_lines = data["max_lines"]:max_lines_default; + string file = data["file"]:""; + + list<string> args = [ "--retry", "-n", tostring(max_lines_default), "-f", file ]; id = (integer) SCR::Execute (.process.start, "/usr/bin/tail", $[ "args" : args ]); is_running = true; y2debug("started tail with args %1", args); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org