Pass installdir as a parameter

This commit is contained in:
Siddharth Bansal
2026-04-20 21:36:42 +05:30
parent 2c8b7b5ca5
commit 473bce856d
2 changed files with 4 additions and 15 deletions

View File

@@ -259,7 +259,7 @@ func main() {
}
config.DoCrowdsecInstall = true
err := installCrowdsec(config)
err := installCrowdsec(config, installDir)
if err != nil {
fmt.Printf("Error installing CrowdSec: %v\n", err)
return