diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:14:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-14 17:45:10 +1200 |
commit | 6427c5fc3bad0ba77325b548aef4489d5b457de1 (patch) | |
tree | 6901d98d2122f194f26b6fa8e490be60d9af1eb0 | |
parent | Improve variable name (diff) | |
download | psshd-6427c5fc3bad0ba77325b548aef4489d5b457de1.tar.gz psshd-6427c5fc3bad0ba77325b548aef4489d5b457de1.zip |
Remove unnecessary variable bracing
-rwxr-xr-x | psshd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,14 +54,14 @@ if ! [[ "$port" ]]; then fi # Set up a PID dir -rundir=${TMPDIR:-/tmp}/psshd-${UID} +rundir=${TMPDIR:-/tmp}/psshd-$UID if ! mkdir -p "$rundir"; then printf 'Could not create directory %s for PID file\n' "$rundir" >&2 exit 1 fi # Export the two settings autossh absolutely needs -AUTOSSH_PIDFILE=${rundir}/psshd-port-${port}.pid +AUTOSSH_PIDFILE=$rundir/psshd-port-${port}.pid AUTOSSH_PORT=$port export AUTOSSH_PIDFILE AUTOSSH_PORT |