diff options
-rwxr-xr-x | psshd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,11 +36,11 @@ while getopts :p: opt; do port=$OPTARG ;; \?) - printf 'Invalid option %s\n' "$OPTARG" >&2 + printf '%s - Invalid option %s\n' "$self" "$OPTARG" >&2 exit 1 ;; :) - printf 'Option -%s requires an argument\n' "$OPTARG" >&2 + printf '%s - Option -%s requires an argument\n' "$self" "$OPTARG" >&2 exit 1 ;; esac @@ -56,7 +56,7 @@ fi # Set up a PID dir rundir=${TMPDIR:-/tmp}/psshd-$UID if ! mkdir -p "$rundir"; then - printf 'Could not create directory %s for PID file\n' "$rundir" >&2 + printf '%s - Could not create directory %s for PID file\n' "$self" "$rundir" >&2 exit 1 fi |