projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d06815
)
r1232 + fix timestamp format
author
Denis Ovsienko
<infrastation@yandex.ru>
Mon, 22 Oct 2007 15:06:33 +0000
(15:06 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Mon, 22 Oct 2007 15:06:33 +0000
(15:06 +0000)
gateways/switchvlans/main
patch
|
blob
|
blame
|
history
diff --git
a/gateways/switchvlans/main
b/gateways/switchvlans/main
index 9a8a9f2e34d47461f253e4088dbec7ea5517b502..74ddaa05bce4275a027a15ff8ea55bf0f6716859 100755
(executable)
--- a/
gateways/switchvlans/main
+++ b/
gateways/switchvlans/main
@@
-214,7
+214,7
@@
do_set()
while read reply; do
echo -n $SEMICOLON$reply
SEMICOLON=';'
- timestamp=`date '+%Y-%
M
-%d %H:%M:%S'`
+ timestamp=`date '+%Y-%
m
-%d %H:%M:%S'`
[ -w "$MYDIR/changes.log" ] && echo "$timestamp $user@$endpoint $reply" >> "$MYDIR/changes.log"
done < "$REPLIES"
echo