diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-22 14:03:23 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-22 14:03:23 +0800 |
commit | aff02e2bcdffc6a3c8f3366de143ddba51442eb5 (patch) | |
tree | 33d3ff71359ea620a3d6d17b469fbcf2c8fccca9 /mbbsd/admin.c | |
parent | 538d328a4d98bd1852225ca144cb4893f3df98f0 (diff) | |
download | pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar.gz pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar.bz2 pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar.lz pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar.xz pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.tar.zst pttbbs-aff02e2bcdffc6a3c8f3366de143ddba51442eb5.zip |
Remove board directory if failed
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |