[PATCH 16/35] fsadm: Use warn for warnings in list command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 scripts/fsadm.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh
index 233b4fc..3b47a21 100755
--- a/scripts/fsadm.sh
+++ b/scripts/fsadm.sh
@@ -981,7 +981,7 @@ list_filesystems() {
 	IFS=$IFS_OLD
 
 	if [ $c -eq 0 ]; then
-		echo " No file systems suitable for managing by $TOOL found."
+		warn " No file systems suitable for managing by $TOOL found."
 		return
 	fi
 
@@ -1075,7 +1075,7 @@ list_devices() {
 	rm -f $tmp
 
 	if [ $c -eq 0 ]; then
-		echo " No devices found."
+		warn " No devices found."
 		return
 	fi
 
@@ -1138,7 +1138,7 @@ list_pool() {
 	IFS=$IFS_OLD
 
 	if [ $c -eq 0 ]; then
-		echo " No pools found on the system."
+		warn " No pools found on the system."
 		return
 	fi
 
-- 
1.7.4.4

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux