aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command.h1
-rw-r--r--src/common.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index 8fec1c7..5b6136f 100644
--- a/src/command.h
+++ b/src/command.h
@@ -52,6 +52,7 @@
{ \
found = 0; \
if (argv[j][0] != '-') continue; \
+ if(!strcmp(argv[0], "wine") && !strcmp(argv[1], "run")) break;\
\
for (unsigned long i = 0; i < ARRAY_LEN(GROUP##_flags); ++i) \
{ \
diff --git a/src/common.c b/src/common.c
index 66a470b..c5ee354 100644
--- a/src/common.c
+++ b/src/common.c
@@ -13,6 +13,9 @@ uint8_t no_net = 0;
int set_no_net(UNUSED int argc, UNUSED char** argv)
{
+#ifndef NDEBUG
+ puts("[NO_NET] set");
+#endif
no_net = 1;
return 0;
}