diff options
author | Martin Schwenke <martin@meltin.net> | 2012-04-24 17:17:07 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2012-04-27 15:42:42 +1000 |
commit | 0c8f7856281ba5df9c6dc796fb2aeeb34b31294a (patch) | |
tree | a394677599af032cbcec65d0a2258c04ddaea9d0 | |
parent | a14671f829ccfa8a415cb85e2d4ae7b06135d5be (diff) | |
download | samba-0c8f7856281ba5df9c6dc796fb2aeeb34b31294a.tar.gz samba-0c8f7856281ba5df9c6dc796fb2aeeb34b31294a.tar.xz samba-0c8f7856281ba5df9c6dc796fb2aeeb34b31294a.zip |
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)
-rwxr-xr-x | ctdb/config/events.d/13.per_ip_routing | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/13.per_ip_routing b/ctdb/config/events.d/13.per_ip_routing index 9a2c346ee5..07687c0f5f 100755 --- a/ctdb/config/events.d/13.per_ip_routing +++ b/ctdb/config/events.d/13.per_ip_routing @@ -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 |