chg: just forward --time to command server
Since we've removed the use of atexit in
de5c9d0e02ea, --time just works.
--- a/contrib/chg/chg.c Mon Oct 09 02:30:23 2017 -0700
+++ b/contrib/chg/chg.c Sat Oct 07 22:07:10 2017 +0900
@@ -369,7 +369,6 @@
SERVE = 1,
DAEMON = 2,
SERVEDAEMON = SERVE | DAEMON,
- TIME = 4,
};
unsigned int state = 0;
int i;
@@ -381,11 +380,8 @@
else if (strcmp("-d", argv[i]) == 0 ||
strcmp("--daemon", argv[i]) == 0)
state |= DAEMON;
- else if (strcmp("--time", argv[i]) == 0)
- state |= TIME;
}
- return (state & TIME) == TIME ||
- (state & SERVEDAEMON) == SERVEDAEMON;
+ return (state & SERVEDAEMON) == SERVEDAEMON;
}
static void execoriginalhg(const char *argv[])