- int r, q;
- char *cgroup_user_tree = NULL;
-
- if ((r = write_one_line_file_atomic("/run/nologin", "System is going down.")) < 0)
- log_error("Failed to create /run/nologin: %s", strerror(-r));
-
- if ((q = cg_get_user_path(&cgroup_user_tree)) < 0) {
- log_error("Failed to determine use path: %s", strerror(-q));
- goto finish;
- }