Disable check for user and group options on Windows

This commit is contained in:
Calum Lind 2012-02-24 15:29:58 +00:00
parent 1696fd1103
commit b47dc73d30
1 changed files with 11 additions and 10 deletions

View File

@ -221,6 +221,7 @@ this should be an IP address", metavar="IFACE",
# Write pid file before chuid
write_pidfile()
if not deluge.common.windows_check():
if options.user:
if not options.user.isdigit():
import pwd