mirror of
https://github.com/gryf/wicd.git
synced 2026-02-17 23:45:45 +01:00
create wpath.networks at run time if it doesn't exist
This commit is contained in:
@@ -1762,6 +1762,9 @@ def main(argv):
|
|||||||
|
|
||||||
# quit, this should be the only option specified
|
# quit, this should be the only option specified
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
if not os.path.exists(wpath.networks):
|
||||||
|
os.makedirs(wpath.networks)
|
||||||
|
|
||||||
if do_daemonize: daemonize()
|
if do_daemonize: daemonize()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user