Default set  "Is this ok [y/N]:" is N.
This commit is contained in:
Dog of Pavlov
2016-05-10 12:22:51 +09:00
parent 21180847dc
commit 012cfa3cbe

View File

@@ -462,7 +462,7 @@ func (o *redhat) parseYumCheckUpdateLine(line string) (models.PackageInfo, error
func (o *redhat) getChangelog(packageNames string) (stdout string, err error) {
command := ""
if o.ServerInfo.User == "root" {
command = "yes no | "
command = "echo N | "
}
if 0 < len(config.Conf.HTTPProxy) {
command += util.ProxyEnv()