"Fossies" - the Fresh Open Source Software Archive

Member "rear-2.7/usr/share/rear/prep/EXTERNAL/default/050_check_external.sh" (14 Jul 2022, 242 Bytes) of package /linux/privat/rear-2.7.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 # run the external backup check
    2 if test "$PING" ; then
    3     Log "Running: '${EXTERNAL_CHECK[@]}'"
    4     eval "${EXTERNAL_CHECK[@]}"
    5     StopIfError "External command check failed with $?"
    6 else
    7     Log "Skipping external command check (PING is disabled)"
    8 fi