• raptir@lemdro.id
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      If anything it is dangerous as it will still exit even if changes cannot be saved.

    • DocMcStuffin@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Try editing a file in /etc as a regular user. It happens sometimes and you really want that warning that the write failed.

      Anyway, :x is superior. It only writes if there are changes. So, your mtime doesn’t change unnecessarily.