Should call python as #!/usr/bin/env python
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
try:
|
||||
import dns
|
||||
has = 1
|
||||
import dns
|
||||
has = 1
|
||||
except:
|
||||
has = 0
|
||||
has = 0
|
||||
|
||||
if has == 1:
|
||||
sys.exit(0)
|
||||
sys.exit(0)
|
||||
else:
|
||||
sys.exit(1)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user