From cd00c1ada57baa9801d5fd600fc6d2f95c1a79f0 Mon Sep 17 00:00:00 2001 From: wangsong Date: Fri, 31 Dec 2021 17:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/kylin-system-updater | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/kylin-system-updater b/backend/kylin-system-updater index ac105f1..2d35bcb 100755 --- a/backend/kylin-system-updater +++ b/backend/kylin-system-updater @@ -42,21 +42,20 @@ if __name__ == "__main__": help=_("Do not check for updates source when updating")) parser.add_option ("--no-update", action="store_true", dest="no_update", default=False, - help=_("Do not check for updates when starting")) + help="Do not check for updates when starting") parser.add_option("-c", "--close-filter", default=False, action="store_true", dest="close_filter", - help=_("Quit and close allowed_origin")) + help=_("Quit and close allowed origin")) parser.add_option("--no-check-network", default=False, action="store_true", dest="no_check_network", - help=_("Quit and close check_network")) + help=_("Quit and close check network")) (options, args) = parser.parse_args() if os.getuid() != 0: print(_("You need to be root to run this application")) - sys.exit(1) # set debconf to NON_INTERACTIVE