Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions mgmt/FileManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,7 @@ FileManager::configFileChild(const char *parent, const char *child, unsigned fla
int htfound = ink_hash_table_lookup(bindings, parent, &lookup);
if (htfound) {
parentRollback = (Rollback *)lookup;
}
if (htfound) {
addFileHelper(child, true, parentRollback, flags);
addFileHelper(child, parentRollback->rootAccessNeeded(), parentRollback, flags);
}
ink_mutex_release(&accessLock);
}
5 changes: 5 additions & 0 deletions mgmt/Rollback.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ class Rollback
{
return numberBackups > 0;
}
bool
rootAccessNeeded() const
{
return root_access_needed;
}

FileManager *configFiles; // Manager to notify on an update.

Expand Down