zrepl/zfs/test_helpers/exec_mapping_good.sh
2017-04-26 17:39:16 +02:00

19 lines
243 B
Bash
Executable File

#!/bin/bash
while read line # we know this is not always correct...
do
if [[ "$line" =~ nomap* ]]; then
echo "NOMAP"
continue
fi
echo "didmap/${line}"
if [ "$1" == "stop" ]; then
break
fi
done