* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless

debugging.
This commit is contained in:
Christopher Faylor
2003-01-17 05:24:28 +00:00
parent 14ea50290a
commit 1de6f431aa
2 changed files with 7 additions and 1 deletions

View File

@ -424,9 +424,11 @@ etc::dir_changed (int n)
path_conv pwd ("/etc");
changed_h = FindFirstChangeNotification (pwd, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
#ifdef DEBUGGING
if (changed_h == INVALID_HANDLE_VALUE)
system_printf ("Can't open /etc for checking, %E", (char *) pwd,
changed_h);
#endif
}
if (changed_h == INVALID_HANDLE_VALUE)