Skip to content

Commit 6ed2e56

Browse files
committed
1 parent 2dcc9f7 commit 6ed2e56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎kbe/tools/server/pycluster/cluster_controller.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ def getDefaultUID():
573573
except:
574574
pass
575575

576+
if uid == -1:
577+
print("[ERROR]: UID is not set, The current is -1.")
578+
print("[ERROR]: Please refer to the http://kbengine.org/docs/installation.html environment variable settings, about UID!")
579+
576580
return uid
577581

578582
if __name__ == "__main__":

0 commit comments

Comments
 (0)