git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df732ca
)
Eventscripts: fix basename -> dirname typo
author
Martin Schwenke
<martin@meltin.net>
Tue, 24 Apr 2012 07:17:07 +0000
(17:17 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Fri, 27 Apr 2012 05:42:42 +0000
(15:42 +1000)
I fixed one of these previously but didn't notice this one... :-(
Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/13.per_ip_routing
patch
|
blob
|
history
diff --git
a/config/events.d/13.per_ip_routing
b/config/events.d/13.per_ip_routing
index 9a2c346ee5834e16be48b96e9e1e7af187dec5d9..07687c0f5f4b101274ae04990a5633dabcd0e50a 100755
(executable)
--- a/
config/events.d/13.per_ip_routing
+++ b/
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 $(
base
name "$_f")
+ mkdir -p $(
dir
name "$_f")
touch "$_f"
fi