aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2014-06-06 10:13:44 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2014-06-06 10:13:44 +0200
commit225ab8eef3dda0c149b2889d1af85d802d4019a6 (patch)
tree19e642367870cc9a72c73aeb541a8399ea4c3e31
parent36de0d4c62624524f4f2c44001cdc779f50131a0 (diff)
downloadzfs-backup-225ab8eef3dda0c149b2889d1af85d802d4019a6.tar.gz
zfs-backup-225ab8eef3dda0c149b2889d1af85d802d4019a6.tar.bz2
zb-pull: missing awk
-rwxr-xr-xzb-pull2
1 files changed, 1 insertions, 1 deletions
diff --git a/zb-pull b/zb-pull
index af8f9cd..ca41093 100755
--- a/zb-pull
+++ b/zb-pull
@@ -21,7 +21,7 @@ local_zfs="$3"
newest="N/A"
newest_common="N/A"
-ssh $ssh_remote "zfs list -t snapshot -r -d 1 -H \"${remote_zfs}\" " | while read l ; do
+ssh $ssh_remote "zfs list -t snapshot -r -d 1 -H \"${remote_zfs}\" " | awk '{print $1;}' | while read l ; do
#link unix timestamps
unixtime=`timestamp "$l"` || continue
echo "$unixtime" "$l"