diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-12 04:08:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-12 04:08:12 +0200 |
commit | 597099c664c9c00f485b088b5f29161b343fea0f (patch) | |
tree | c091abc9b34854f119b47d6c9010a636b692b1bb /src/libmdsserver | |
parent | m (diff) | |
download | mds-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.c | 2 |
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]; |