From patchwork Tue Nov 10 13:05:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1397646 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::439; helo=mail-wr1-x439.google.com; envelope-from=swupdate+bncbcxploxj6ikrbgvavl6qkgqempngjcq@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=XPTe94mq; dkim-atps=neutral Received: from mail-wr1-x439.google.com (mail-wr1-x439.google.com [IPv6:2a00:1450:4864:20::439]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CVp4v6Ls1z9sRK for ; Wed, 11 Nov 2020 00:05:35 +1100 (AEDT) Received: by mail-wr1-x439.google.com with SMTP id e11sf5707281wrw.14 for ; Tue, 10 Nov 2020 05:05:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605013531; cv=pass; d=google.com; s=arc-20160816; b=wcQnBVY1HC1qdzpbRCxZiVfM+QhefVBZCjPCamkc0ZmrT3IYShqS5iPoY3EWM0B70S 8YcBCoWQ87ZKTDAeFor6jR1GW/gV1Ob0PBsTyWJwdd3l8KY9vLCYeJkDAus7Ndk1sD4d X95YbMFUBK1ysbJP8j3h3hU7xRWIFvs9zyb8aeaQPQbVv+roWOrcHqns06/iWbteiDD8 /wcKTh8tMLyxIpoXomLDBWcOZj+DokaoUncpmheznUOvxlo5wXXNboTsOAkbLOTA36H8 feIEg4Bj74N3XxffDsZ5AqGTsny482z7niWX1x1sE293m8eP5qo//nEjqitkbDxvSwzJ J7CA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=JFQ1qdofIrZj/YR7U4Bcotry2cvh1tSpvicIDDmk/3w=; b=mZZ/nJ5+VghFtOAa0dBhGYNSAGte3tHHAjMwYD1+nVrAFZruDR7jHbnc/C3HWUCrQb kMGc5Q2CbS+Ug9kBbJWhtNIKIJeiIqjbnT17KazIjdBFS9/Dtrn2wwNf0LFEJdgdEAJI HwQ4wKi6joERBNQe4dQK/d5e1dwcp701cGz7YWSVHyVoA+tVedcLv0NnA0AwP5zQbaoQ 8+rKV213leQ9ElGFVvHMjbfh/htlNIEI7AKjUOu46QIiyVaInqv9kZigcmEttWCN2+nl TB4wIbj/NaqyY7miTmwcIC+PmJAVUEroKNHi1BnF9xCMGaQtaRiW+uZ9dqkkslasfvzU GaQA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=JFQ1qdofIrZj/YR7U4Bcotry2cvh1tSpvicIDDmk/3w=; b=XPTe94mqdnT31JNuFlMRvO0kGxiteNSnpObBe7uypL86IaIZvZM/cdB/YvNFgVrdeq sbr4f+ZSpdYcJMxoU263zRjbBF1FooRgtYnA+tKt2XOODZLjpgEu9kdndTAI72zGdcuL OZhxeXCZZwMggiUS7ROz0lmFhM3SkRJ3qM1ZnR8h3oshdK6vSrXQeRhxblGsKz9dABBu 5FvaN4bq0Gul6UrnKrmNaRg+Wz1p8f5v4LLyWZ79rp8T7zCO2MwT+g1iy+PngoRvj8qk qAZDAJ1SS5/0zDmyUebmYdMKLT0QEJJlaSdpYryUdMIz1NT9zFYKAw/cMGKpuqYeVMXB L9KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=JFQ1qdofIrZj/YR7U4Bcotry2cvh1tSpvicIDDmk/3w=; b=hoB39go+5J0/f4kEvEvJOU7oAuh9mfAL+41vJ7UVrFdJvy2xV7Tlog/7sVIEAbxkbN M1CQWbca0v3+yL6PgBo5sZ0gpocYgOmy+5Sr8mM9MdP9H0+maRstwrvtn0V0Mu829m3h +iqnaMG+3vibKn/Y9nP3XmHsiRhFc/RKhzjU5FGQiUtkXLeCqFOsycOoP5bww5U85Q3z MIJwr9KALChKAwp5tUTGEA1cFiVdEFJ8ae95uRD0BX6U/z5xC5+gUku55eBtCw0L3MHQ tVwiJzIW5Va7lO960aEddwW8u7yXkkEzEhGWpyX+HemlizSGBebaFkbd3Et1VusqZnM6 oCBQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531+sBAJHRVa4Uf7KfMDb/aj6dgRauS/TGfpIHtQxRssSiwdEnn/ KvwRlhe2n5nAfJPytKMBma0= X-Google-Smtp-Source: ABdhPJwsVxG4ngSpt04nhvvs9bBpwuKlhxdcG/hcFKpX7ad8z1K6j4QgzzCpYTKLlYmjg5hdy5DG5w== X-Received: by 2002:a5d:5146:: with SMTP id u6mr12101923wrt.66.1605013531227; Tue, 10 Nov 2020 05:05:31 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a7b:cf33:: with SMTP id m19ls1235054wmg.1.gmail; Tue, 10 Nov 2020 05:05:30 -0800 (PST) X-Received: by 2002:a7b:c3d2:: with SMTP id t18mr4887157wmj.112.1605013529786; Tue, 10 Nov 2020 05:05:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605013529; cv=none; d=google.com; s=arc-20160816; b=mgNtdHHdDwKlrlb7UrTLGRFnAFjfk1LtSEHSygCwW5ONW4EhIKhyCVvuCc7qyUfj9a 0XPFfPPHfKGcnA1ZJ5FHP+4pQ7VL3pGAtsxt8/C7asTZVIS7vnvH1yfkHoR3RmEbApyz bdYoilOQAedBUh/Prst8UwR3aRaNoOKVUr9qCh4rnQDJ0FKeS9V/R4ATZHXpOp82Azcf jg7RXDK/0QVoVyv0YU9oDyNK66rObVuvivWD/gsGHfrknRCy6pyw6c0+DVAv0IpIsI0f Mc7MiHW79ChVCtcdtXLnhsXqaOGNi7Y4YIpnPQRxW4zCqSEyCBY0896Y6NBeQi6sm0y/ m3+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Lhem58pYpy88uCjrDq1o1K7iK9YO9lrMVIsOlaEAijo=; b=fQ9NMlRslCqiKglfYTmHasWa+TkWjUTeoUSG9CI/GrcDWeBx9ReG5CWvaANtdHephJ x5fieQCmbOxBZ/mm/bbB99lma6DttRnkPv+BMamZ5gneDeJne/mhMTH+ceuu/+eswN+m 3yX0ElZ5hdCOjFEPXN2r1rKdx19bdzbsyshkbiYLDQCqVv6KXklAuV/31MkYnvxSihAe kF8qffhJWoBSyaMPJI3mP5p6gSR6ZRLkGd/N9JORX41kWPBbGiBWuTwZnTmJCiVUhorG N1AMbbkI5EA9GfVUDOzp8vSUNMFr7vrBGzfz3k2fDBjxwzGHA+sZQuDJ8YE0UV81Zurh zm5Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id h1si200854wrp.1.2020.11.10.05.05.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2020 05:05:29 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CVp4n4WbTz1qsZq; Tue, 10 Nov 2020 14:05:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CVp4n4L1rz1r56h; Tue, 10 Nov 2020 14:05:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Xi7RObKVKhYg; Tue, 10 Nov 2020 14:05:29 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 10 Nov 2020 14:05:29 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id C983F45403CB; Tue, 10 Nov 2020 14:05:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BiHNgsvMRSL5; Tue, 10 Nov 2020 14:05:26 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.64]) by babic.homelinux.org (Postfix) with ESMTP id 2D2324540719; Tue, 10 Nov 2020 14:05:23 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] Move license banner after checking parameters Date: Tue, 10 Nov 2020 14:05:21 +0100 Message-Id: <20201110130521.76549-3-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201110130521.76549-1-sbabic@denx.de> References: <20201110130521.76549-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- core/swupdate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/swupdate.c b/core/swupdate.c index 6eaa588..5e5fbaf 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -748,10 +748,6 @@ int main(int argc, char **argv) read_processes_settings, &swcfg); } - printf("%s\n", BANNER); - printf("Licensed under GPLv2. See source distribution for detailed " - "copyright notices.\n\n"); - /* * Command line should be parsed a second time * This let line parameters overload @@ -944,6 +940,10 @@ int main(int argc, char **argv) } } + printf("%s\n", BANNER); + printf("Licensed under GPLv2. See source distribution for detailed " + "copyright notices.\n\n"); + /* * Install a child handler to check if a subprocess * dies