Преглед изворни кода

suppress grep output

master
Katie Holly пре 5 година
родитељ
комит
6773df8eae
No known key found for this signature in database GPG Key ID: 3D3115D5D95856F
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      offload-one

+ 1
- 1
offload-one Прегледај датотеку

@@ -36,7 +36,7 @@ function mayicontinue {

mayicontinue

if test -z "${OFFLOAD_TARGET}" && ! cat ./offload_targets 2> /dev/null | grep -E '^rsync://[^/]+/[^/]+'; then
if test -z "${OFFLOAD_TARGET}" && ! cat ./offload_targets 2> /dev/null | grep -qE '^rsync://[^/]+/[^/]+'; then
echo "No valid offload target specified in OFFLOAD_TARGET environment variable or ./offload_targets file, aborting offload"
sleep 30
exit 1


Loading…
Откажи
Сачувај