Update crates/update/src/install.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Dylan M. Taylorandcoderabbitai[bot] authored and GitHub committed 2026-10-30 22:48:52 -04:00
1 parent bd9a4d7b16
commit 003f133f6d
1 file changed
+2
+2
View File
@@ -947,6 +947,8 @@ pub(crate) mod linux {
}
// pkexec: 126 = the password prompt was dismissed, 127 = not authorized.
if matches!(output.status.code(), Some(126 | 127)) {
let detail = String::from_utf8_lossy(&output.stderr);
log::warn!("flatpak bundle install ended with {:?}: {}", output.status.code(), detail.trim());
return Err(CANCELLED.into());
}
let stderr = String::from_utf8_lossy(&output.stderr);