From 9c29b12f0d1ea1a7d88d41d24c72a85cbc1b8862 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Jul 2004 02:47:34 +0000 Subject: fix typo --- perl-install/fs/format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index ee72eadcb..a3a33f0c4 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -60,7 +60,7 @@ sub part_raw { my $cmd = $cmds{$fs_type} or die N("I don't know how to format %s in type %s", $part->{device}, part2name($part)); - run_program::raw({ timeout => 60 * 60 }, $cmd, @options, devices::make($dev)) or die N("%s formatting of %s failed", $fs_type, $dev); + run_program::raw({ timeout => 60 * 60 }, split(' ', $cmd), @options, devices::make($dev)) or die N("%s formatting of %s failed", $fs_type, $dev); if ($fs_type eq 'ext3') { disable_forced_fsck($dev); -- cgit v1.2.1