Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1146 → Rev 1147

/rebootdaemon/trunk/rebootdaemon.c
143,7 → 143,7
sleep(1);
close(t);
 
syslog(LOG_INFO, "got command [%s]", cmd);
syslog(LOG_INFO, "got command");
if(0 == strncmp(cmd, cfg->password, sizeof(cmd))) {
syslog(LOG_EMERG, "REBOOT");