News for hackers. Stuff that matters.
Re:Using GPG to Encrypt Your Data by switch007 on Thursday January 12, 2017 @02:38PM (#13385368)
You can over-rely on "set -e" however:

  #!/usr/bin/env bash
  set -e
  fail() { false ; echo hello; }
  if ! fail; then :; fi
That outputs "hello" and exits with 0.

There are no comments on this comment yet.