chore: update output to let the user know they can pass --force
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
8cd23ecef5
commit
1ffc4c7834
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ def _new_site(
|
||||||
from frappe.utils import scheduler
|
from frappe.utils import scheduler
|
||||||
|
|
||||||
if not force and os.path.exists(site):
|
if not force and os.path.exists(site):
|
||||||
print(f"Site {site} already exists")
|
print(f"Site {site} already exists, use `--force` to proceed anyway")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if no_mariadb_socket and db_type != "mariadb":
|
if no_mariadb_socket and db_type != "mariadb":
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue