From f8b431d73a3621f4b0f07491f00557cc75744aaf Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Fri, 10 Apr 2009 14:33:23 +0100 Subject: [setup.d] Remove W: message prefix To be added by run_parts and logged to stderr --- etc/setup.d/05lvm | 2 +- etc/setup.d/20copyfiles | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/setup.d/05lvm b/etc/setup.d/05lvm index 34a7ac9e..9a7883ec 100755 --- a/etc/setup.d/05lvm +++ b/etc/setup.d/05lvm @@ -65,7 +65,7 @@ if [ "$CHROOT_TYPE" = "lvm-snapshot" ]; then # The block device no longer exists, or was never created, # for example on lvcreate failure. if [ "$AUTH_VERBOSITY" = "verbose" ]; then - echo "W: $CHROOT_LVM_SNAPSHOT_DEVICE does not exist" + echo "$CHROOT_LVM_SNAPSHOT_DEVICE does not exist" fi fi diff --git a/etc/setup.d/20copyfiles b/etc/setup.d/20copyfiles index b52a7ec7..cd7df776 100755 --- a/etc/setup.d/20copyfiles +++ b/etc/setup.d/20copyfiles @@ -61,7 +61,7 @@ copy_file() fi else - echo "W: Not copying nonexistent file: $file" + echo "Not copying nonexistent file: $file" fi } @@ -73,7 +73,7 @@ if [ $1 = "setup-start" ] || [ $1 = "setup-recover" ]; then if echo "$file" | grep -q '^/'; then copy_file "$file" "${CHROOT_PATH}$file" else - echo "W: Not copying file with relative path: $file" + echo "Not copying file with relative path: $file" fi done < "$COPYFILES" else -- cgit v1.2.3