summaryrefslogtreecommitdiff
path: root/scripts/boot/9990-misc-helpers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot/9990-misc-helpers.sh')
-rwxr-xr-xscripts/boot/9990-misc-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh
index 35448b9..71ba7e1 100755
--- a/scripts/boot/9990-misc-helpers.sh
+++ b/scripts/boot/9990-misc-helpers.sh
@@ -1581,7 +1581,7 @@ fix_backwards_compatibility ()
fi
include_list="${backing}/${persistence_list}"
- if [ ! -r "${include_list}" ]
+ if [ ! -r "${include_list}" ] && [ ! -r "${backing}/${old_persistence_list}" ]
then
echo "# persistence backwards compatibility:
${dir} ${opt},source=." > "${include_list}"