Skip to content

Commit 2ca14c9

Browse files
authored
Merge pull request #20516 from adfoster-r7/fix-msfdb-init-failures-on-nixos
Fix msfdb init failures on NixOs
2 parents 9beacd1 + ce3dc12 commit 2ca14c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msfdb_helpers/pg_ctl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_executable_file(path)
4646
begin
4747
file_name = File.join(path, 'msfdb_testfile')
4848
File.open(file_name, 'w') do |f|
49-
f.puts "#!/bin/bash\necho exec"
49+
f.puts "#!/bin/sh\necho exec"
5050
end
5151
File.chmod(0744, file_name)
5252

0 commit comments

Comments
 (0)