We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa87687 commit 4b27511Copy full SHA for 4b27511
module/post-fs-data.sh
@@ -214,6 +214,12 @@ mountify_copy() {
214
echo "$MODULE_ID" >> "$LOG_FOLDER/modules"
215
}
216
217
+# prevent this fuckup since on expert mode this isnt checked
218
+if [ "$FAKE_MOUNT_NAME" = "persist" ]; then
219
+ echo "mountify/post-fs-data: folder name named $FAKE_MOUNT_NAME is not allowed!" >> /dev/kmsg
220
+ exit 1
221
+fi
222
+
223
# make sure its not there
224
if [ ! "$mountify_expert_mode" = 1 ] && [ -d "$MNT_FOLDER/$FAKE_MOUNT_NAME" ]; then
225
# anti fuckup
0 commit comments