aboutsummaryrefslogtreecommitdiffstats
path: root/src/easydir.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-08-20 12:03:50 +0300
committerJoursoir <chat@joursoir.net>2022-08-22 00:07:35 +0300
commit228bb9aee22326333e5dfa3e3f522f87f85e84e9 (patch)
tree82b41c878d1a35d2aa50298687ab4a308a76075e /src/easydir.h
parent56d9586130f0a5157543f24f567444608819c19c (diff)
downloadlock-password-228bb9aee22326333e5dfa3e3f522f87f85e84e9.tar.gz
lock-password-228bb9aee22326333e5dfa3e3f522f87f85e84e9.tar.bz2
lock-password-228bb9aee22326333e5dfa3e3f522f87f85e84e9.zip
lpass: try to change the dir a second time if the dir exists
Let's unite two conditions. So, if mkdir() returns a non-zero value and errno equals EEXIST, we'll give a change and do chdir() again.
Diffstat (limited to 'src/easydir.h')
0 files changed, 0 insertions, 0 deletions