Skip to content

Commit

Permalink
Merge pull request #688 from benaduggan/main
Browse files Browse the repository at this point in the history
[bugfix]: remove extra quotes because escapeShellArg adds them
  • Loading branch information
domenkozar authored Jun 28, 2023
2 parents eaa7d3d + 828bc72 commit e85df56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/services/postgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ let
runInitialScript =
if cfg.initialScript != null then
''
echo "${lib.escapeShellArg cfg.initialScript}" | postgres --single -E postgres
echo ${lib.escapeShellArg cfg.initialScript} | postgres --single -E postgres
''
else
"";
Expand Down

0 comments on commit e85df56

Please sign in to comment.