mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
fix x2pagentd section in hg rage
Summary: The path changed. I'm updating it so it's correct. Reviewed By: HarveyHunt Differential Revision: D33478628 fbshipit-source-id: 69a9da77ba0e574a8cd19ef84d4224a5185e1c68
This commit is contained in:
parent
c6d655eb7f
commit
bc418a1b21
@ -277,8 +277,11 @@ def checkproxyagentstate(ui):
|
||||
|
||||
logs = "OS not supported"
|
||||
if pycompat.iswindows:
|
||||
username = util.getuser()
|
||||
logs = shcmd(
|
||||
"type C:\\Users\\%USERNAME%\\AppData\\Local\\facebook\\fb-x2pagentd\\x2pagentd.log"
|
||||
"type C:\\Users\\{}\\AppData\\Local\\facebook\\fb-x2pagentd\\fb-x2pagentd.log".format(
|
||||
username
|
||||
)
|
||||
)
|
||||
elif pycompat.islinux:
|
||||
logs = shcmd("journalctl --user-unit x2pagentd.service | tail -n 100")
|
||||
|
Loading…
Reference in New Issue
Block a user