Commit d11c872d authored by David Zeuthen's avatar David Zeuthen
Browse files

Use "rules", not "scripts" to refer to files in rules.d


Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 956d4e81
......@@ -226,7 +226,7 @@ load_scripts (PolkitBackendJsAuthority *authority)
GDir *dir = NULL;
polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
"Loading scripts from directory %s",
"Loading rules from directory %s",
dir_name);
dir = g_dir_open (dir_name,
......@@ -288,7 +288,7 @@ load_scripts (PolkitBackendJsAuthority *authority)
}
polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
"Finished loading, compiling and executing %d scripts",
"Finished loading, compiling and executing %d rules",
num_scripts);
g_list_free_full (files, g_free);
}
......@@ -351,7 +351,7 @@ on_dir_monitor_changed (GFileMonitor *monitor,
event_type == G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT))
{
polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
"Reloading scripts");
"Reloading rules");
reload_scripts (authority);
}
g_free (name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment