summaryrefslogtreecommitdiff
path: root/cmd/authelia-scripts/cmd_serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/authelia-scripts/cmd_serve.go')
-rw-r--r--cmd/authelia-scripts/cmd_serve.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/authelia-scripts/cmd_serve.go b/cmd/authelia-scripts/cmd_serve.go
index 652bf223d..fccc04683 100644
--- a/cmd/authelia-scripts/cmd_serve.go
+++ b/cmd/authelia-scripts/cmd_serve.go
@@ -4,12 +4,12 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
- "github.com/authelia/authelia/internal/utils"
+ "github.com/authelia/authelia/v4/internal/utils"
)
// ServeCmd serve Authelia with the provided configuration.
-func ServeCmd(cobraCmd *cobra.Command, args []string) {
+func ServeCmd(cmd *cobra.Command, args []string) {
log.Infof("Running Authelia with config %s...", args[0])
- cmd := utils.CommandWithStdout(OutputDir+"/authelia", "--config", args[0])
- utils.RunCommandUntilCtrlC(cmd)
+ execCmd := utils.CommandWithStdout(OutputDir+"/authelia", "--config", args[0])
+ utils.RunCommandUntilCtrlC(execCmd)
}