Blame SOURCES/rear-bz1726982.patch

3adda6
diff --git a/usr/share/rear/restore/BACULA/default/400_restore_backup.sh b/usr/share/rear/restore/BACULA/default/400_restore_backup.sh
3adda6
index eac4d275..d21af71c 100644
3adda6
--- a/usr/share/rear/restore/BACULA/default/400_restore_backup.sh
3adda6
+++ b/usr/share/rear/restore/BACULA/default/400_restore_backup.sh
3adda6
@@ -110,7 +110,11 @@ WARNING: The new root is mounted under '$TARGET_FS_ROOT'.
3adda6
 Press ENTER to start bconsole"
3adda6
     read
3adda6
 
3adda6
-    bconsole
3adda6
+    if bconsole 0<&6 1>&7 2>&8 ; then
3adda6
+        Log "bconsole finished with zero exit code"
3adda6
+    else
3adda6
+        Log "bconsole finished with non-zero exit code $?"
3adda6
+    fi
3adda6
 
3adda6
     LogPrint "
3adda6
 Please verify that the backup has been restored correctly to '$TARGET_FS_ROOT'