From 29e20b2e414c281b995984b0bea53e7801174dfe Mon Sep 17 00:00:00 2001 From: Earnestly Date: Sat, 2 Dec 2017 02:17:10 +0000 Subject: [PATCH] sx: remove unused code --- sx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sx b/sx index 6e40359..12d4384 100755 --- a/sx +++ b/sx @@ -10,14 +10,6 @@ # fi set -o errexit -error() { - # To expose printf's DSL we will need to use a positional argument for the - # format string. - # shellcheck disable=SC2059 - printf -- "sx: $2" "${@:3}" >&2 - exit "$1" -} - cleanup() { # Return to conventional flow control here as we need to continue # regardless of failure.