aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-12 04:08:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-12 04:08:12 +0200
commit597099c664c9c00f485b088b5f29161b343fea0f (patch)
treec091abc9b34854f119b47d6c9010a636b692b1bb /src/libmdsserver
parentm (diff)
downloadmds-597099c664c9c00f485b088b5f29161b343fea0f.tar.gz
mds-597099c664c9c00f485b088b5f29161b343fea0f.tar.bz2
mds-597099c664c9c00f485b088b5f29161b343fea0f.tar.xz
m fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/util.c b/src/libmdsserver/util.c
index a3a1867..07f4bfa 100644
--- a/src/libmdsserver/util.c
+++ b/src/libmdsserver/util.c
@@ -72,7 +72,7 @@ void reexec_server(int argc, char** argv, int reexeced)
{
*reexec_args_++ = *argv;
*reexec_args_ = strdup("--re-exec");
- if (*reexec_args_)
+ if (*reexec_args_ == NULL)
return;
for (i = 1; i < argc; i++)
reexec_args_[i] = argv[i];