test-sudo.sh 166 B

1234567
  1. #!/usr/bin/env bash
  2. set -e
  3. # set -e stops the execution of a script if a command or pipeline has an error
  4. sudo echo "DBG:test-sudo #1"
  5. sudo echo "DBG:test-sudo #2"