diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 2fa3a8f21..55a979b3e 100644 --- a/src/main.c +++ b/src/main.c @@ -145,6 +145,8 @@ extern void expire_all(void) void save_databases(void) { + if (readonly) + return; waiting = -19; send_event(EVENT_DB_SAVING, 1, EVENT_START); waiting = -2; |