mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Check for sticky bit when checking for executable access.
This commit is contained in:
1 parent
49506ada3f
commit
14bb12d3fb
3 files changed
+14
-1
No files matched your search
@@ -70,6 +70,7 @@ def locale_check():
|
||||
locale.setlocale(locale.LC_ALL, (language, "UTF-8"))
|
||||
except locale.Error as e:
|
||||
log.error("could not set an UTF-8 encoding for the {} locale: {}".format(language, e))
|
||||
raise SystemExit
|
||||
else:
|
||||
log.info("current locale is {}.{}".format(language, encoding))
|
||||
|
||||
|
||||
Reference in new issue
Block a user