Skip to content

Conversation

@Nevsor
Copy link

@Nevsor Nevsor commented Nov 30, 2020

Use python2 instead of python, because python might refer to python3
(e.g. under Arch Linux).

Use python2 instead of python, because python might refer to python3
(e.g. under Arch Linux).
@Nevsor Nevsor changed the title Fixed Python version bug. Fix Python version bug Nov 30, 2020
@Nevsor
Copy link
Author

Nevsor commented Nov 30, 2020

Without this fix sudo make install will fail under Arch Linux:

python /usr/share/honeyd/scripts/lib/init.py
  File "/usr/share/honeyd/scripts/lib/init.py", line 12
    os.chmod(home + "/.config/honeyd/names", 0666)
                                                ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant