Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openshift/assisted-installer-agent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b71cf01fbf0b5e53826d3c1e90a275ef9530a4ae
Choose a base ref
..
head repository: openshift/assisted-installer-agent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee6f469dfe2300aa8b3110d809fe8b96bfa5506d
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/commands/step_processor.go
2 changes: 1 addition & 1 deletion src/commands/step_processor.go
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ func (s *stepSession) diagnoseSystem() error {

source := fields[0]
if source == "" || !strings.HasPrefix(source, "/dev") {
return s.diagnoseError(errors.Errorf("invalid mountpoint source %s", source))
return s.diagnoseError(errors.Errorf("The mount source isn't a device file %s", source))
}

_, stderr, exitCode = util.ExecutePrivileged("head", "-c", "2", source)