1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-15 20:50:05 +00:00
This commit is contained in:
deadc0de6
2023-09-21 21:03:07 +02:00
committed by deadc0de
parent 0245e65036
commit 3c702058f5

2
tests-ng/backup.sh vendored
View File

@@ -30,7 +30,7 @@ echo -e "$(tput setaf 6)==> RUNNING $(basename "${BASH_SOURCE[0]}") <==$(tput sg
grep_or_fail() grep_or_fail()
{ {
if ! grep "${1}" "${2}" >/dev/null 2>&1; then if ! grep "${1}" "${2}" >/dev/null 2>&1; then
echo "pattern not found in ${2}" echo "pattern \"${1}\" not found in ${2}"
exit 1 exit 1
fi fi
} }