Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

15 righe
359 B

  1. #!/usr/bin/env bash
  2. # Run the command in the arguments and turn any non-0 exit code
  3. # into a 255 exit code. This is useful when using xargs because
  4. # xargs stops itself only on exit code 255 from the subprocess,
  5. # and not any other exit code.
  6. #
  7. # Remember to add "255wrap" before the subprocess, not the "xargs"!
  8. "$@"
  9. if [[ $? -ne 0 ]]; then
  10. exit 255
  11. fi