mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-07-31 19:55:20 +08:00
When the `git init` call fails, the directory is not created, so the rm command fails with a not found error. This change checks whether the directory exists before deleting it.