Skip to content

Commit

Permalink
Restore error message
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
  • Loading branch information
Itxaka committed Jun 23, 2023
1 parent d659b48 commit a602517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/elemental/elemental.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (e Elemental) UnmountPartitions(parts v1.PartitionList) error {
if part.MountPoint != "" {
err = e.UnmountPartition(part)
if err != nil {
errMsg += fmt.Sprintf("Failed to unmount %s\n", part.MountPoint)
errMsg += fmt.Sprintf("Failed to unmount %s\n Error: %s\n", part.MountPoint, err.Error())
failure = true
}
}
Expand Down

0 comments on commit a602517

Please sign in to comment.