blob: 130872b255adb4e0406dfcc39328523b578b452a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- src/addagent/main.c.orig 2020-02-14 19:46:22 UTC
+++ src/addagent/main.c
@@ -17,6 +17,7 @@ static void print_banner(void);
static void manage_shutdown(int sig) __attribute__((noreturn));
#endif
+int willchroot;
#if defined(__MINGW32__)
static int setenv(const char *name, const char *val, __attribute__((unused)) int overwrite)
@@ -104,7 +105,6 @@ int main(int argc, char **argv)
int ret;
#endif
- extern int willchroot;
willchroot = 1;
/* Set the name */
|