summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-20 15:38:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-20 15:38:51 +0000
commitcba3e351345bc38e0bfb0d56ade55abefae65d6b (patch)
treed71ae5a4f34d02589f1da009c81dd8a2c2df8bbe
parent0b93b8f4544d1a8698c3ec1c2b1d416bad91a0eb (diff)
downloaddrakx-cba3e351345bc38e0bfb0d56ade55abefae65d6b.tar
drakx-cba3e351345bc38e0bfb0d56ade55abefae65d6b.tar.gz
drakx-cba3e351345bc38e0bfb0d56ade55abefae65d6b.tar.bz2
drakx-cba3e351345bc38e0bfb0d56ade55abefae65d6b.tar.xz
drakx-cba3e351345bc38e0bfb0d56ade55abefae65d6b.zip
add a check
-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