~serge-hallyn/ubuntu/quantal/lxc/lxc-fixapi

« back to all changes in this revision

Viewing changes to src/lxc/lxc-create.in

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-08-16 17:03:07 UTC
  • Revision ID: package-import@ubuntu.com-20120816170307-91m3dpxdo446bzqr
Tags: 0.8.0~rc1-4ubuntu25
* debian/control: only depend on libseccomp-dev on i386 and amd64, and
  switch to upstream-submitted seccomp patch (LP: #1037701)
* debian/rules: add '--with autoreconf' to force recreation of
  configure from configure.ac
* 0099-cleanup-after-template-help: don't leave a partially created
  container when -h is passed after '--'.  (LP: #1031043)

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        esac
141
141
done
142
142
 
 
143
# If -h or --help was passed into the container, we'll want to cleanup
 
144
# afterward
 
145
wantedhelp=0
 
146
for var in "$@"
 
147
do
 
148
if [ "$var" = "-h" -o "$var" = "--help" ]; then
 
149
    help
 
150
    exit 1
 
151
fi
 
152
done
 
153
 
 
154
 
143
155
if [ -z "$lxc_path" ]; then
144
156
    echo "no configuration path defined !"
145
157
    exit 1