diff options
author | B. Stack <bgstack15@gmail.com> | 2022-02-06 16:41:53 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-02-06 16:41:53 -0500 |
commit | f6b6d222dc1a79c95f6756c707c5fcc3a785c030 (patch) | |
tree | 374c62790fde0ce5514ef56750d0ff023d61b528 /zen/sys_info.cpp | |
parent | add upstream 11.16 (diff) | |
download | FreeFileSync-f6b6d222dc1a79c95f6756c707c5fcc3a785c030.tar.gz FreeFileSync-f6b6d222dc1a79c95f6756c707c5fcc3a785c030.tar.bz2 FreeFileSync-f6b6d222dc1a79c95f6756c707c5fcc3a785c030.zip |
add upstream 11.17
Diffstat (limited to 'zen/sys_info.cpp')
-rw-r--r-- | zen/sys_info.cpp | 2 |
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' } } |