Compare commits

...

No commits in common. "0c34db6b2e0f5cc97f2633a26bf0dd6a2d32b95c" and "7d7fa1e2a55f12cb0c43838de832dbddb058582d" have entirely different histories.

View File

@ -3,7 +3,7 @@ set -eo pipefail
image="$1"; [ -z "$1" ] && { echo "No image file specified!" >&2; exit 1; }
mfile="$2"; [ -z "$2" ] && { echo "No mapfile specified!" >&2; exit 1; }
[ -z $3 ] && [ -t 1 ] && { echo "The output of this script is unsafe for raw display." >&2
[ -z "$3" -a -t 1 ] && { echo "The output of this script is unsafe for raw display." >&2
exit 1; } \
|| ofile=${3:-/dev/stdout}