From: Bastian Dehn Date: Sat, 17 Feb 2018 10:53:54 +0000 (+0100) Subject: fix: pv status remote bug X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=7f11bb323ccfca4b1bcd78362fb7b1a092b316ef;p=simple-backup.git fix: pv status remote bug --- diff --git a/backup b/backup index fe73247..e268e5c 100755 --- a/backup +++ b/backup @@ -81,7 +81,7 @@ BackupVMDiscs() { elif [ "$DiskType" == "block" ]; then local readonly DiskName=$(echo $Disk \ | sed 's/^\///' | sed 's/\//-/g') - local readonly DiskSize=$(fdisk -l $Disk \ + local readonly DiskSize=$(ssh $remoteLogin fdisk -l $Disk \ | head -n 1 | awk -F "," '{print $2'} \ | sed 's/[ \| bytes]//g')