Skip to content

Commit 7a0c3cf

Browse files
committed
Fix zypp release
1 parent 0f55ca0 commit 7a0c3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zypperoni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_zypp_lock():
155155

156156
# Function to release lock on zypper
157157
def release_zypp_lock():
158-
if os.getuid == 0:
158+
if os.getuid() == 0:
159159
os.system(f"echo -n > {ZYPPER_PID_FILE}")
160160
return True
161161
else:

0 commit comments

Comments
 (0)