From abdcaccf30d9b5ac9d2ab73dbc16166cead41ee3 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Wed, 8 Aug 2007 11:50:18 +0000 Subject: [PATCH] - fixed -y option support bug --- src/zypper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zypper.cc b/src/zypper.cc index 90be891..7b9909d 100644 --- a/src/zypper.cc +++ b/src/zypper.cc @@ -1028,7 +1028,7 @@ int one_command(const ZypperCommand & command, int argc, char **argv) // rug compatibility code // switch on non-interactive mode if no-confirm specified if (copts.count("no-confirm")) - gSettings.non_interactive == true; + gSettings.non_interactive = true; // read resolvable type @@ -1304,7 +1304,7 @@ int one_command(const ZypperCommand & command, int argc, char **argv) // rug compatibility code // switch on non-interactive mode if no-confirm specified if (copts.count("no-confirm")) - gSettings.non_interactive == true; + gSettings.non_interactive = true; if (copts.count("auto-agree-with-licenses")) gSettings.license_auto_agree = true; -- 2.7.4