Suggestion: Related to BUG11494 - removed PRINT-line in 'extrahd.pl'

Message ID 20171003134025.24294-1-matthias.fischer@ipfire.org
State Superseded
Commit 3c3dfd165eec77898bd9e0bf72ee92dbe9987d61
Headers
Series Suggestion: Related to BUG11494 - removed PRINT-line in 'extrahd.pl' |

Commit Message

Matthias Fischer Oct. 4, 2017, 12:40 a.m. UTC
  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 <matthias.fischer@ipfire.org>
---
 config/extrahd/extrahd.pl | 2 --
 1 file changed, 2 deletions(-)
  

Patch

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");