diff options
-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 fcd0026259..24a8162c92 100755 --- a/ctdb/config/events.d/13.per_ip_routing +++ b/ctdb/config/events.d/13.per_ip_routing @@ -84,7 +84,7 @@ ensure_table_id_for_ip () _f="$CTDB_ETCDIR/iproute2/rt_tables" # This file should always exist, but... if [ ! -f "$_f" ] ; then - mkdir -p $(basename "$_f") + mkdir -p $(dirname "$_f") touch "$_f" fi |