Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Please don't run that command as stated. It deletes /var (because HN merged adjacent lines)

Edit: It has since been fixed.



I won't, don't worry ;) That code should probably be indented two spaces, like this:

  sudo rm -rf /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle
  sudo ln /private/var /var


yikes! thanks, fixed.


I see a pattern here...


I doubt Hacker News automatically merging 2 lines into 1 line was the cause of the original bug.


You don't run your code through HN as a post-commit hook?


yikes! thanks, fixed.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: