diff --git a/readme.md b/readme.md index 5d1ab0a..e648693 100644 --- a/readme.md +++ b/readme.md @@ -321,7 +321,7 @@ kubectl apply -f kubernetes.yml * ### Is this project legal? - Yes, this project contains only open-source code and does not distribute any copyrighted material. Any product keys found in the code are just generic placeholders provided by Microsoft for trial purposes. So under all applicable laws, this project would be considered legal. + Yes, this project contains only open-source code and does not distribute any copyrighted material. Any product keys found in the code are just generic placeholders provided by Microsoft for trial purposes. So under all applicable laws, this project will be considered legal. ## Stars [![Stars](https://starchart.cc/dockur/windows-arm.svg?variant=adaptive)](https://starchart.cc/dockur/windows-arm) diff --git a/src/samba.sh b/src/samba.sh index 59280d0..cc865d7 100644 --- a/src/samba.sh +++ b/src/samba.sh @@ -75,7 +75,10 @@ fi echo " force group = root" } > "/etc/samba/smb.conf" -! smbd && smbd --debug-stdout +if ! smbd; then + error "Samba daemon failed to start!" + smbd -i --debug-stdout || true +fi # Enable Web Service Discovery wsdd -i "$interface" -p -n "$hostname" &