summaryrefslogtreecommitdiff
path: root/zen/sys_info.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-07 00:18:30 +0000
committerB. Stack <bgstack15@gmail.com>2022-02-07 00:18:30 +0000
commit4cba562d787bfc92aeadbbc2ef199d4856523247 (patch)
tree374c62790fde0ce5514ef56750d0ff023d61b528 /zen/sys_info.cpp
parentMerge branch 'b11.16' into 'master' (diff)
parent add upstream 11.17 (diff)
downloadFreeFileSync-11.17.tar.gz
FreeFileSync-11.17.tar.bz2
FreeFileSync-11.17.zip
Merge branch 'b11.17' into 'master'11.17
add upstream 11.17 See merge request opensource-tracking/FreeFileSync!41
Diffstat (limited to 'zen/sys_info.cpp')
-rw-r--r--zen/sys_info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zen/sys_info.cpp b/zen/sys_info.cpp
index 54a5ecae..cc852510 100644
--- a/zen/sys_info.cpp
+++ b/zen/sys_info.cpp
@@ -185,6 +185,8 @@ Zstring getUserDir() //throw FileError
return "/root";
else
return "/home/" + loginUser;
+
+ //safer? sudo --user $userName sh -c 'echo $HOME'
}
}
bgstack15