1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

Eventscripts: fix basename -> dirname typo

I fixed one of these previously but didn't notice this one...  :-(

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 0c674efd19368d41d9cc28909d2b16c1af54c86c)
This commit is contained in:
Martin Schwenke 2012-04-24 17:17:07 +10:00
parent a14671f829
commit 0c8f785628

View File

@ -136,7 +136,7 @@ clean_up_table_ids ()
# Even if this didn't exist on the system, adding a route will
# have created it. What if we startup and immediately shutdown?
if [ ! -f "$_f" ] ; then
mkdir -p $(basename "$_f")
mkdir -p $(dirname "$_f")
touch "$_f"
fi