diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 1e15f57b9a009a070e0e27a066f1ec5cb5aaf10f..ac391947eab70c3c4d3c0f94a0aff04be8a0a858 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -209,14 +209,6 @@ failed() { esac } -if [ ! -r "${WRAPPER_CMD}" ]; then - echo "Unable to locate ${WRAPPER_CMD} in ${I2P}!" - echo - unsupported - echo - exit 1 -fi - if [ -n "$FIXED_COMMAND" ] then COMMAND="$FIXED_COMMAND" @@ -559,6 +551,13 @@ then exit 1 fi +if [ ! -r "${WRAPPER_CMD}" ]; then + echo "Unable to locate ${WRAPPER_CMD} in ${I2P}!" + echo + unsupported + echo + exit 1 +fi # Build the nice clause if [ "X$PRIORITY" = "X" ]