diff options
author | Adrian Reber <areber@redhat.com> | 2018-06-06 11:05:05 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2018-06-20 21:29:39 +0300 |
commit | 8697e7837cff262822b9fb43bbba0ba72e923d59 (patch) | |
tree | bcb805bf832c8b0ed221b087d40135568982283b | |
parent | 120b233a6dfea458501fca25b7f4bccae0890bea (diff) |
scripts/systemd-autofs-restart.sh: fix variable name
The script checks if $NSENTER is executable and sets $NS_ENTER if not.
This seems to be a typo (once with '_' and once without).
Untested and not reproducible. It just looks wrong.
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
-rwxr-xr-x | scripts/systemd-autofs-restart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/systemd-autofs-restart.sh b/scripts/systemd-autofs-restart.sh index 162550299..b22078c36 100755 --- a/scripts/systemd-autofs-restart.sh +++ b/scripts/systemd-autofs-restart.sh @@ -27,7 +27,7 @@ if [ ! -d "/proc/$CRTOOLS_INIT_PID" ]; then fi NS_ENTER=/bin/nsenter -[ ! -x $NSENTER ] || NS_ENTER=/usr/bin/nsenter +[ ! -x $NS_ENTER ] || NS_ENTER=/usr/bin/nsenter if [ ! -x $NS_ENTER ]; then echo "$NS_ENTER binary not found" |