mirror of
https://github.com/troglobit/finit.git
synced 2026-11-20 19:41:51 +00:00
Minor, style/clarify debug messages
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3ad4f6ef4b
commit
e437379939
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -687,7 +687,7 @@ int conf_reload(void)
|
|||||||
/* Check that file ends with '.conf' */
|
/* Check that file ends with '.conf' */
|
||||||
len = strlen(path);
|
len = strlen(path);
|
||||||
if (len < 6 || strcmp(&path[len - 5], ".conf"))
|
if (len < 6 || strcmp(&path[len - 5], ".conf"))
|
||||||
_d("Skipping %s, not a valid .conf ... ", path);
|
_d("Skipping %s, not a Finit .conf file ... ", path);
|
||||||
else
|
else
|
||||||
parse_conf(path, 1);
|
parse_conf(path, 1);
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -81,10 +81,10 @@ int iwatch_add(struct iwatch *iw, char *file, uint32_t mask)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (!fexist(file)) {
|
if (!fexist(file)) {
|
||||||
_d("No such file or directory, skipping %s", file);
|
_d("skipping %s: no such file or directory", file);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
_d("Adding new watcher for path %s", file);
|
_d("adding new watcher for path %s", file);
|
||||||
|
|
||||||
path = strdup(file);
|
path = strdup(file);
|
||||||
if (!path) {
|
if (!path) {
|
||||||
|
|||||||
Reference in new issue
Block a user