Ver código fonte

suppress grep output

master
Katie Holly 5 anos atrás
pai
commit
6773df8eae
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 3D3115D5D95856F
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      offload-one

+ 1
- 1
offload-one Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar