From a7fb958a2cbff70339e00ff765583fe698416b3a Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 29 Sep 2017 07:00:57 -0400 Subject: [PATCH] whoops --- gpg/sksdump.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index 9721221..eae9c3d 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -128,7 +128,10 @@ def destPrep(args): os.chown(d, uid, gid) if os.path.isdir(curdir): os.remove(curdir) - os.symlink(NOWstr, curdir, target_is_directory = True) + try: + os.symlink(NOWstr, curdir, target_is_directory = True) + except FileExistsError: + pass # Ignore if it was set earlier return() def dumpDB(args):