Parcourir la source

suppress grep output

master
Katie Holly il y a 5 ans
Parent
révision
6773df8eae
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 3D3115D5D95856F
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      offload-one

+ 1
- 1
offload-one Voir le fichier

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


Chargement…
Annuler
Enregistrer