Message ID | 20200312145417.106812-2-jandryuk@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | scripts: Use stat to check lock claim | expand |
diff --git a/tools/hotplug/Linux/locking.sh b/tools/hotplug/Linux/locking.sh index c6a7e96ff9..baaaf73508 100644 --- a/tools/hotplug/Linux/locking.sh +++ b/tools/hotplug/Linux/locking.sh @@ -58,8 +58,8 @@ claim_lock() print "y\n" if $fd_inum eq $file_inum; ' "$_lockfile" ) if [ x$rightfile = xy ]; then break; fi - # Some versions of bash appear to be buggy if the same - # $_lockfile is opened repeatedly. Close the current fd here. + # Some versions of bash appear to be buggy if the same + # $_lockfile is opened repeatedly. Close the current fd here. eval "exec $_lockfd<&-" done }
Replace two stray tabs with spaces to make the file whitespace consistent. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> --- tools/hotplug/Linux/locking.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)