3 bup_python="$(dirname "$0")/../cmd/bup-python" || exit $?
4 exec "$bup_python" "$0" ${1+"$@"}
8 from __future__ import absolute_import, print_function
13 if sys.platform.startswith('cygwin'):
14 if sys.getwindowsversion()[0] > 5:
15 # Sounds like the situation is much more complicated here
16 print("can't detect root status for OS version > 5; assuming not root",
20 if ctypes.cdll.shell32.IsUserAnAdmin():
26 if os.environ.get('FAKEROOTKEY'):