Fix 1.2 compatibility
authorGuido Trotter <ultrotter@google.com>
Mon, 16 Feb 2009 10:25:28 +0000 (10:25 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 16 Feb 2009 10:25:28 +0000 (10:25 +0000)
commit6d0ae1767dff6753b44a71c4629be3d5cb45aa84
treee43836163dabd6c575bd43d9599604c7d6f0dbd9
parent3f3482cb0d027b2f03633c7afd62884e022d344e
Fix 1.2 compatibility

getopt must be executed outside of the get_api5_arguments function,
because there $@ will be overridden.

vol_id may return an error on old distributions (dapper) in that case we
just... err... well... ignore the error and forget to set up the swap
partition in fstab?? :)

Reviewed-by: iustinp
common.sh
create.in