samba: bugfixes

This commit is contained in:
Michael Grote 2021-10-01 12:01:54 +02:00
parent 67cad49c97
commit bdb91b782d

5
extern/samba vendored
View file

@ -1,5 +1,4 @@
#!@@GOODSH@@ #!/bin/bash
# -*- sh -*-
: << =cut : << =cut
@ -40,7 +39,7 @@ GPLv2
=cut =cut
#SMBSTATUS=${smbstatus:-$(sudo command -v smbstatus)} #SMBSTATUS=${smbstatus:-$(sudo command -v smbstatus)}
SMBSTATUS=${SMBSTATUS:-$(sudo /usr/bin/smbstatus)} SMBSTATUS=$(which smbstatus)
if [ "$1" = "autoconf" ]; then if [ "$1" = "autoconf" ]; then
if [ -x "$SMBSTATUS" ]; then if [ -x "$SMBSTATUS" ]; then