From patchwork Wed Oct 4 00:40:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 1435 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id C979A61440 for ; Tue, 3 Oct 2017 15:40:32 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 47C2A2814; Tue, 3 Oct 2017 15:40:32 +0200 (CEST) Received: from Devel.localdomain (p5DD83A95.dip0.t-ipconnect.de [93.216.58.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 939C7280F for ; Tue, 3 Oct 2017 15:40:30 +0200 (CEST) From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] Suggestion: Related to BUG11494 - removed PRINT-line in 'extrahd.pl' Date: Tue, 3 Oct 2017 15:40:25 +0200 Message-Id: <20171003134025.24294-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.14.2 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Just a suggestion - I don't want it to be forgotten - so I deleted the useless(!?) line 51 in '/config/extrahd.pl'. As shown in https://forum.ipfire.org/viewtopic.php?f=50&t=19563#p111055 PRINT-output somehow garbles bash-prompt. Starting 'extrahd.pl' from console: ... root@ipfire: /var/ipfire/extrahd/bin # ./extrahd.pl scanhd ide ... Leads to: ... scanhd ideroot@ipfire: /var/ipfire/extrahd/bin # ^^^^^^^^^^ ... I think its just a forgotten debug line. Jm2C - Best, Matthias Signed-off-by: Matthias Fischer --- config/extrahd/extrahd.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/extrahd/extrahd.pl b/config/extrahd/extrahd.pl index 3c6fa0280..3b57e9230 100644 --- a/config/extrahd/extrahd.pl +++ b/config/extrahd/extrahd.pl @@ -48,8 +48,6 @@ close FILE; ############################################################################################################################ ############################################################################################################################ -print "$ARGV[0] $ARGV[1]"; - if ( "$ARGV[0]" eq "mount" ) { system("/bin/cp -f /etc/fstab $fstab");