From 4f31aa18a8966248c5c73c3d8b366ff3828fd4c7 Mon Sep 17 00:00:00 2001 From: freesource Date: Tue, 6 Nov 2001 07:29:19 +0000 Subject: [PATCH] Improves some info() output. --- BootRoot/Yard.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index d732f6a..b92e16f 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -904,14 +904,14 @@ sub create_filesystem { ## Originally, this was -b 1024 switched with the inode approach. if (sys("$main::makefs $device $fs_size") !~ /^0$/ ) { - $error = error("Cannot $fs_type filesystem."); + $error = error("Cannot $fs_type filesystem.\n"); return "ERROR" if $error && $error eq "ERROR"; } } else { if (sys("$main::makefs $device $fs_size") !~ /^0$/ ) { - $error = error("Cannot $fs_type filesystem."); + $error = error("Cannot $fs_type filesystem.\n"); return "ERROR" if $error && $error eq "ERROR"; } } @@ -1079,7 +1079,7 @@ sub create_filesystem { if ( sys("/usr/lib/bootroot/$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~ /^0$/ ) { - $error = error("Cannot $fs_type filesystem."); + $error = error("Cannot $fs_type filesystem.\n"); return "ERROR" if $error && $error eq "ERROR"; }