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

Commit ea1b260c 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 023dc990
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,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");
  }
}