chore(display): disable restricted shell

This commit is contained in:
2025-10-30 11:28:36 +01:00
parent 7d92d659e3
commit bcff1ffc0a
+1 -1
View File
@@ -147,7 +147,7 @@ func shellCommandRoute(ctx echo.Context) error {
return ctx.JSON(http.StatusBadRequest, ErrorResponse{Error: "Invalid JSON request"})
}
cmd := exec.Command("bash", "-c", "-r", commandInput.Command)
cmd := exec.Command("bash", "-c", commandInput.Command)
storagePath, err := pkg.GetStoragePath()
if err != nil {
slog.Error("Failed to get storage path", "error", err)