[ovs-dev] [PATCH] debian: Backup OVSDB db file before converting it.

Ben Pfaff blp at nicira.com
Sun Feb 6 17:47:34 UTC 2011

On Sun, Feb 06, 2011 at 01:32:22AM -0800, Justin Pettit wrote:
> The XenServer init script makes a backup before converting the OVSDB
> database file.  This may be useful for debugging, so do the same on
> Debian.  Also, store the schema version in the database.

Did you test this?  The bash online help for the "local" keyword (from
"help local") says:

    Local variables can only be used within a function; they are visible
    only to the function where they are defined and its children.

but your use of local is not within a function.

It looks otherwise reasonable to me.



More information about the dev mailing list