Author: mvidner Date: Tue Mar 17 14:02:08 2009 New Revision: 56173 URL: http://svn.opensuse.org/viewcvs/yast?rev=56173&view=rev Log: Do not pop up with questions in CLI mode (bnc#456553). Modified: trunk/ntp-client/package/yast2-ntp-client.changes trunk/ntp-client/src/NtpClient.ycp Modified: trunk/ntp-client/package/yast2-ntp-client.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ntp-client/package/yast2-ntp-client.changes?rev=56173&r1=56172&r2=56173&view=diff ============================================================================== --- trunk/ntp-client/package/yast2-ntp-client.changes (original) +++ trunk/ntp-client/package/yast2-ntp-client.changes Tue Mar 17 14:02:08 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Mar 17 14:01:57 CET 2009 - mvidner@suse.cz + +- Do not pop up with questions in CLI mode (bnc#456553). + +------------------------------------------------------------------- Fri Feb 20 12:39:15 CET 2009 - mvidner@suse.cz - Fixed: the checkbox for opening/closing the firewall port would Modified: trunk/ntp-client/src/NtpClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ntp-client/src/NtpClient.ycp?rev=56173&r1=56172&r2=56173&view=diff ============================================================================== --- trunk/ntp-client/src/NtpClient.ycp (original) +++ trunk/ntp-client/src/NtpClient.ycp Tue Mar 17 14:02:08 2009 @@ -498,7 +498,9 @@ } } - if (! FileChanges::CheckFiles (["/etc/ntp.conf"])) + // Stay away if the user may have made changes which we cannot parse. + // But bnc#456553, no pop-ups for CLI. + if (! Mode::commandline() && ! FileChanges::CheckFiles (["/etc/ntp.conf"])) failed = true; ProcessNtpConf(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org