mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r13306: Do not call netbios_setup() if this file is sourced by sh or bash.
This commit is contained in:
parent
e2fc8a196a
commit
72c6432ae8
@ -58,4 +58,8 @@ netbios_setup() {
|
||||
fi
|
||||
}
|
||||
|
||||
netbios_setup
|
||||
# Only call netbios_setup if we're not sourced.
|
||||
case "$0" in
|
||||
*bin/sh|*bin/bash) : ;;
|
||||
*) netbios_setup ;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user