This commit is contained in:
2026-03-19 15:39:31 +00:00
parent b7987248c1
commit cd7d2fcf61
6 changed files with 169 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ func main() {
configPath := flag.String("config", "/etc/samba/smb.conf", "path to smb.conf")
flag.Parse()
app := NewApp(*configPath, RealUserManager{})
app := NewApp(*configPath, RealUserManager{}, OSCommandRunner{}, execLookPath)
if err := app.Run(); err != nil {
if errors.Is(err, ErrCancelled) {
fmt.Fprintln(os.Stderr, "cancelled")