summaryrefslogtreecommitdiff
path: root/bin
diff options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/recovery_info3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/recovery_info b/bin/recovery_info
index 2fed808..9d5c828 100755
--- a/bin/recovery_info
+++ b/bin/recovery_info
@@ -317,9 +317,8 @@ class RecoveryInfo(Command):
partition = RecoveryInfo.get_recovery_partition()
if partition is None:
- sys.stderr.write("Recovery partition not found\n")
+ print("Recovery partition not found", file=sys.stderr)
return 1
-
(recovery_type, recovery_partition) = partition
ctx.recovery_partition = recovery_partition
ctx.recovery_type = recovery_type