snaprep

git mirror of https://ccx.te2000.cz/bzr/snaprep
git clone https://ccx.te2000.cz/git/snaprep
Log | Files | Refs

commit c45e6664f59a411e1fce91dc32b4e45259ca3865
parent 92189fd599a89fab7bd33e3e9ec6408f77ebe494
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 21 Feb 2014 00:27:15 +0100

fix snap.missing
Diffstat:
Mbin/snap.missing | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/snap.missing b/bin/snap.missing @@ -1,15 +1,15 @@ #!/bin/awk -f BEGIN { - if (ARGC != 2) { + if (ARGC != 3) { print "usage: snap.missing source destination" exit 2 } - while ("snap.list " ARGV[1] | getline) { + while ("snap.list " ARGV[1] "/" | getline) { snapshots[$0] = 1 } - while ("snap.list " ARGV[2] | getline) { + while ("snap.list " ARGV[2] "/" | getline) { snapshots[$0] = 0 }