mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 19:07:06 +00:00
tools: move lxc-wait to API symbols only
Closes #2073. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
81bba32eda
commit
b678c6d8a7
@ -20,6 +20,8 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
@ -30,9 +32,8 @@
|
|||||||
|
|
||||||
#include <lxc/lxccontainer.h>
|
#include <lxc/lxccontainer.h>
|
||||||
|
|
||||||
#include "lxc.h"
|
|
||||||
#include "log.h"
|
|
||||||
#include "arguments.h"
|
#include "arguments.h"
|
||||||
|
#include "tool_utils.h"
|
||||||
|
|
||||||
static int my_checker(const struct lxc_arguments* args)
|
static int my_checker(const struct lxc_arguments* args)
|
||||||
{
|
{
|
||||||
@ -98,7 +99,6 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (lxc_log_init(&log))
|
if (lxc_log_init(&log))
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
lxc_log_options_no_override();
|
|
||||||
|
|
||||||
/* REMOVE IN LXC 3.0 */
|
/* REMOVE IN LXC 3.0 */
|
||||||
setenv("LXC_UPDATE_CONFIG_FORMAT", "1", 0);
|
setenv("LXC_UPDATE_CONFIG_FORMAT", "1", 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user