Skip to content

Commit

Permalink
Linux GCS flags use 1 -, not 2 (#1358)
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
  • Loading branch information
helsaawy authored Apr 19, 2022
1 parent a4c9777 commit 98519f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/uvm/create_lcow.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,11 +660,11 @@ func makeLCOWDoc(ctx context.Context, opts *OptionsLCOW, uvm *UtilityVM) (_ *hcs
}

if opts.DisableTimeSyncService {
opts.ExecCommandLine = fmt.Sprintf("%s --disable-time-sync", opts.ExecCommandLine)
opts.ExecCommandLine = fmt.Sprintf("%s -disable-time-sync", opts.ExecCommandLine)
}

if log.IsScrubbingEnabled() {
opts.ExecCommandLine += " --scrub-logs"
opts.ExecCommandLine += " -scrub-logs"
}

execCmdArgs += " " + opts.ExecCommandLine
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 98519f2

Please sign in to comment.