mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
This commit is contained in:
parent
120b233a6d
commit
8697e7837c
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue