summaryrefslogtreecommitdiffstats
path: root/rescue/make_partimage_save_rest_all
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/make_partimage_save_rest_all')
-rwxr-xr-xrescue/make_partimage_save_rest_all4
1 files changed, 4 insertions, 0 deletions
diff --git a/rescue/make_partimage_save_rest_all b/rescue/make_partimage_save_rest_all
index e1be1ed2d..d91bfd3ec 100755
--- a/rescue/make_partimage_save_rest_all
+++ b/rescue/make_partimage_save_rest_all
@@ -17,6 +17,10 @@ if [ -n "$partimage_dir" ]; then
echo "can't find $partimage_dir$local_where"
exit 1
}
+ [ -r "$partimage_dir$local_where/lst" ] || {
+ echo "can't read $partimage_dir$local_where/*"
+ exit 1
+ }
fi
rm -rf .tmp