Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle empty /var/www/html #10

Open
macropin opened this issue Oct 4, 2016 · 0 comments
Open

Handle empty /var/www/html #10

macropin opened this issue Oct 4, 2016 · 0 comments

Comments

@macropin
Copy link
Member

macropin commented Oct 4, 2016

Does not nicely handle when /var/www/html is empty

Unsetting HOME
Traceback (most recent call last):
  File "/usr/local/bin/voltgrid.py", line 339, in <module>
    main(argv=sys.argv)
  File "/usr/local/bin/voltgrid.py", line 327, in main
    m.handle()
  File "/usr/local/bin/voltgrid.py", line 245, in handle
    shutil.rmtree(mount_dir)
  File "/usr/lib64/python2.7/shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib64/python2.7/shutil.py", line 254, in rmtree
    os.rmdir(path)
OSError: [Errno 16] Device or resource busy: '/var/www/html'

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

No branches or pull requests

1 participant