91dbb191bc
Ok, thanks. OBS-URL: https://build.opensuse.org/request/show/50417 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=11
16 lines
469 B
Diff
16 lines
469 B
Diff
--- event.c.orig
|
|
+++ event.c
|
|
@@ -124,8 +124,11 @@ acpid_read_conf(const char *confdir)
|
|
|
|
/* skip any files that don't match the run-parts convention */
|
|
if (regexec(&preg, dirent->d_name, 0, NULL, 0) != 0) {
|
|
- acpid_log(LOG_INFO, "skipping conf file %s/%s\n",
|
|
+ if(strcmp(dirent->d_name, ".") != 0 &&
|
|
+ strcmp(dirent->d_name, "..") != 0) {
|
|
+ acpid_log(LOG_INFO, "skipping conf file %s/%s\n",
|
|
confdir, dirent->d_name);
|
|
+ }
|
|
continue;
|
|
}
|
|
|