mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 16:09:43 +00:00
fix: Terminate tail on exit
This commit is contained in:
parent
75e25b2aea
commit
13fea64bef
1 changed files with 3 additions and 3 deletions
|
|
@ -159,7 +159,7 @@ if ! smbd -l /var/log/samba; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
||||||
tail -fn +0 /var/log/samba/log.smbd &
|
tail -fn +0 /var/log/samba/log.smbd --pid=$$ &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "${NETWORK,,}" in
|
case "${NETWORK,,}" in
|
||||||
|
|
@ -180,7 +180,7 @@ if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
||||||
tail -fn +0 /var/log/samba/log.nmbd &
|
tail -fn +0 /var/log/samba/log.nmbd --pid=$$ &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
@ -196,7 +196,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
if [[ "$SAMBA_DEBUG" == [Yy1]* ]]; then
|
||||||
tail -fn +0 /var/log/wsddn.log &
|
tail -fn +0 /var/log/wsddn.log --pid=$$ &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue