mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: remove invalid dasdview command line option
dasdview command does not accept the '-f' option so because of that the command will always fail. Fixes: #10 Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com> Acked-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
This commit is contained in:
committed by
Stefan Haberland
parent
7076d19c7f
commit
5d10b925c8
@@ -623,7 +623,7 @@ sub get_dasd_info($)
|
||||
my $type;
|
||||
local *HANDLE;
|
||||
|
||||
open(HANDLE, "$dasdview -x -f $dev 2>/dev/null|") or
|
||||
open(HANDLE, "$dasdview -x $dev 2>/dev/null|") or
|
||||
# dasdview returned with an error
|
||||
return undef;
|
||||
while (<HANDLE>) {
|
||||
|
||||
Reference in New Issue
Block a user