-2

I'm analyzing a shell script and I'm a little confused with the piece of code bellow.

Can someone explain me what return; is doing in this case?

if [ -f "$BYPASS_EXISTING_NETWORK_TEST_FILE" ]; then

      dloginfo "Skipping existing network test; mandated by configuration."
      # Consume the file.
      rm -f "$BYPASS_EXISTING_NETWORK_TEST_FILE"
      return;
fi 
aurelien
  • 404
  • 4
  • 22

1 Answers1

1

return will return a value from the function.

information from help return

aurelien
  • 404
  • 4
  • 22