[CRIU] [PATCH] scripts/systemd-autofs-restart.sh: fix variable name
Andrei Vagin
avagin at virtuozzo.com
Wed Jun 20 21:30:04 MSK 2018
Applied, thanks
On Wed, Jun 06, 2018 at 08:05:05AM +0000, Adrian Reber wrote:
> From: Adrian Reber <areber at redhat.com>
>
> 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 at redhat.com>
> ---
> scripts/systemd-autofs-restart.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/systemd-autofs-restart.sh b/scripts/systemd-autofs-restart.sh
> index 1625502..b22078c 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"
> --
> 1.8.3.1
>
More information about the CRIU
mailing list