Guest User

Untitled

a guest
Jan 22nd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. subroutine() {
  2. if [ $1 -ne 0 ]; then
  3. echo $2
  4. return $1
  5. fi
  6. return 0
  7. }
  8.  
  9. subroutine 0 "OK"
  10. subroutine 1 "NG"
  11. exit
Add Comment
Please, Sign In to add comment