Commit 55d0f98f authored by Adrian Reber's avatar Adrian Reber Committed by Pavel Emelyanov

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: 's avatarAdrian Reber <areber@redhat.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 70e18b84
...@@ -27,7 +27,7 @@ if [ ! -d "/proc/$CRTOOLS_INIT_PID" ]; then ...@@ -27,7 +27,7 @@ if [ ! -d "/proc/$CRTOOLS_INIT_PID" ]; then
fi fi
NS_ENTER=/bin/nsenter NS_ENTER=/bin/nsenter
[ ! -x $NSENTER ] || NS_ENTER=/usr/bin/nsenter [ ! -x $NS_ENTER ] || NS_ENTER=/usr/bin/nsenter
if [ ! -x $NS_ENTER ]; then if [ ! -x $NS_ENTER ]; then
echo "$NS_ENTER binary not found" echo "$NS_ENTER binary not found"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment