From aff02e2bcdffc6a3c8f3366de143ddba51442eb5 Mon Sep 17 00:00:00 2001 From: wens Date: Wed, 22 Oct 2008 06:03:23 +0000 Subject: Remove board directory if failed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 140261b9..4706f999 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1013,6 +1013,9 @@ m_newbrd(int whatclass, int recover) vmsg("看板已滿,請洽系統站長"); else vmsg("看板寫入失敗"); + + setbpath(genbuf, newboard.brdname); + rmdir(genbuf); return -1; } -- cgit v1.2.3