Added hostname to error messages that are emailed
[zfs-ubuntu/.git] / zfs-restore
index 84de61e697ee9f5e4b0b93ba43cc2335aa8c53b8..fab2b6ebf45041bb601aac5a3055cde8d5f2a209 100755 (executable)
@@ -54,7 +54,7 @@ fi
 src_pool_guid=`zpool get guid $src_pool 2>&1 | grep $src_pool | awk '{ print $3 }'`
 zpool get guid $src_pool > /dev/null 2>&1
 if [ $? != 0 ]; then
-  fatal_and_exit "-E- Unable to extract the guid for the src pool: $src_pool" $mailto
+  fatal_and_exit "-E- Unable to extract the guid for the src pool on $hostname: $src_pool" $mailto
 fi
 
 # Setup our backup marker names