Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 119a2a34 authored by Alessandro Astone's avatar Alessandro Astone
Browse files

roots: Correct mount flags in /etc/fstab

The logic here got inverted.

Change-Id: I63c0d77fa17442ae8630015a52c7bf1be66f69f4
parent dbd2467a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ static void write_fstab_entry(const FstabEntry& entry, FILE* file) {
    fprintf(file, "%s ", entry.blk_device.c_str());
    fprintf(file, "%s ", entry.mount_point.c_str());
    fprintf(file, "%s ", entry.fs_type.c_str());
    fprintf(file, "%s 0 0\n", entry.fs_options.empty() ? entry.fs_options.c_str() : "defaults");
    fprintf(file, "%s 0 0\n", !entry.fs_options.empty() ? entry.fs_options.c_str() : "defaults");
  }
}