Skip to content

Commit

Permalink
tools: move lxc-unfreeze to API symbols only
Browse files Browse the repository at this point in the history
Closes #2073.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 6, 2018
1 parent adc0914 commit 81bba32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/lxc/tools/lxc_unfreeze.c
Expand Up @@ -20,16 +20,18 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#define _GNU_SOURCE
#include <libgen.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <libgen.h>
#include <sys/types.h>

#include <lxc/lxccontainer.h>

#include "lxc.h"
#include "log.h"
#include "arguments.h"
#include "tool_utils.h"

static const struct option my_longopts[] = {
LXC_COMMON_OPTIONS
Expand Down Expand Up @@ -71,7 +73,6 @@ int main(int argc, char *argv[])

if (lxc_log_init(&log))
exit(EXIT_FAILURE);
lxc_log_options_no_override();

/* REMOVE IN LXC 3.0 */
setenv("LXC_UPDATE_CONFIG_FORMAT", "1", 0);
Expand Down

0 comments on commit 81bba32

Please sign in to comment.