summaryrefslogtreecommitdiff
path: root/zen/symlink_target.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/symlink_target.h')
-rw-r--r--zen/symlink_target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/symlink_target.h b/zen/symlink_target.h
index 370a0c56..dfbbba6d 100644
--- a/zen/symlink_target.h
+++ b/zen/symlink_target.h
@@ -66,7 +66,7 @@ Zstring getSymlinkRawTargetString(const Zstring& linkPath) //throw FileError
try //reading certain symlinks/junctions requires admin rights! This shall not cause an error in user mode!
{
- Privileges::getInstance().ensureActive(SE_BACKUP_NAME); //throw FileError
+ activatePrivilege(SE_BACKUP_NAME); //throw FileError
}
catch (...) {}
bgstack15