summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/resize_ntfs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake/resize_ntfs.pm')
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm
index 30e860f6f..64d96ca7f 100644
--- a/perl-install/diskdrake/resize_ntfs.pm
+++ b/perl-install/diskdrake/resize_ntfs.pm
@@ -20,7 +20,9 @@ sub min_size {
sub resize {
my ($o, $size) = @_;
- run_program::run_or_die('ntfsresize', '-ff', '-s' . int($size / 2) . 'ki', $o->{dev});
+ my @l = ('-ff', '-s' . int($size / 2) . 'ki', $o->{dev});
+ run_program::run_or_die('ntfsresize', '-n', @l);
+ run_program::run_or_die('ntfsresize', @l);
}
1;