Unverified Commit 87c458e3 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

nixos/go-camo: fix shellcheck findings with enableStrictShellChecks enabled (#349557)

parents c11ff943 db122798
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -55,7 +55,8 @@ in
        GOCAMO_HMAC_FILE = "%d/hmac";
      };
      script = ''
        export GOCAMO_HMAC=$(cat "$GOCAMO_HMAC_FILE")
        GOCAMO_HMAC="$(cat "$GOCAMO_HMAC_FILE")"
        export GOCAMO_HMAC
        exec ${lib.escapeShellArgs(lib.lists.remove "" ([ "${pkgs.go-camo}/bin/go-camo" cfg.listen cfg.sslListen cfg.sslKey cfg.sslCert ] ++ cfg.extraOptions))}
      '';
      serviceConfig = {