Skip to content

Commit 55f1bc6

Browse files
authored
Merge pull request #597 from ckyrouac/upgrade-error-msg
upgrade: More detailed rpm-ostree modification error msg
2 parents 790e7c8 + dda90fe commit 55f1bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
392392
.map_or(false, |b| b.incompatible)
393393
{
394394
return Err(anyhow::anyhow!(
395-
"Booted deployment contains local rpm-ostree modifications; cannot upgrade via bootc"
395+
"Booted deployment contains local rpm-ostree modifications; cannot upgrade via bootc. You can run `rpm-ostree reset` to undo the modifications."
396396
));
397397
}
398398
let spec = RequiredHostSpec::from_spec(&host.spec)?;

0 commit comments

Comments
 (0)