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@@
|
#!/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
|
||||||
|
|
Loading…
Reference in a new issue