Skip to content

Commit

Permalink
Patched wrong var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Nov 20, 2024
1 parent af51279 commit 17300e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,7 @@ module ISM
def runChrootTasks(chrootTasks, quiet = false) : Process::Status
recordSystemCall(command: "#{{% @def.receiver %}}.#{{% @def.name %}}")

quietMode = (quiet ? Process::Redirect::Clone : Process::Redirect::Inherit)
quietMode = (quiet ? Process::Redirect::Close : Process::Redirect::Inherit)

File.write(@settings.rootPath+ISM::Default::Filename::Task, chrootTasks)

Expand All @@ -2249,7 +2249,7 @@ module ISM
end

def runSystemCommand(command : String, path = @settings.installByChroot ? "/" : @settings.rootPath, environment = Hash(String, String).new, environmentFilePath = String.new, quiet = false) : Process::Status
quietMode = (quiet ? Process::Redirect::Clone : Process::Redirect::Inherit)
quietMode = (quiet ? Process::Redirect::Close : Process::Redirect::Inherit)

environmentCommand = String.new

Expand Down

0 comments on commit 17300e4

Please sign in to comment.