samba: bugfixes
This commit is contained in:
parent
67cad49c97
commit
bdb91b782d
1 changed files with 2 additions and 3 deletions
5
extern/samba
vendored
5
extern/samba
vendored
|
@ -1,5 +1,4 @@
|
|||
#!@@GOODSH@@
|
||||
# -*- sh -*-
|
||||
#!/bin/bash
|
||||
|
||||
: << =cut
|
||||
|
||||
|
@ -40,7 +39,7 @@ GPLv2
|
|||
=cut
|
||||
|
||||
#SMBSTATUS=${smbstatus:-$(sudo command -v smbstatus)}
|
||||
SMBSTATUS=${SMBSTATUS:-$(sudo /usr/bin/smbstatus)}
|
||||
SMBSTATUS=$(which smbstatus)
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -x "$SMBSTATUS" ]; then
|
||||
|
|
Loading…
Reference in a new issue