r1232 + fix timestamp format
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Oct 2007 15:06:33 +0000 (15:06 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Oct 2007 15:06:33 +0000 (15:06 +0000)
gateways/switchvlans/main

index 9a8a9f2e34d47461f253e4088dbec7ea5517b502..74ddaa05bce4275a027a15ff8ea55bf0f6716859 100755 (executable)
@@ -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