Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
fix copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
Abe Suraiya committed Aug 21, 2019
1 parent 089386b commit 98648c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dusty/systems/nfs/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ def configure_nfs_server():

current_exports = _get_current_exports()
needed_exports = _get_exports_for_repos(repos_for_export)

_ensure_managed_repos_dir_exists()

if not needed_exports.difference(current_exports):
if not _server_is_running():
_restart_server()
return
''.join(exports_set)

_write_exports_config(needed_exports)
_restart_server()

Expand Down

0 comments on commit 98648c3

Please sign in to comment.