|
From: <di...@us...> - 2007-02-05 18:29:13
|
Revision: 394
http://safekeep.svn.sourceforge.net/safekeep/?rev=394&view=rev
Author: dimi
Date: 2007-02-05 10:28:58 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
Avoid scanning /etc/safekeep.d in non-client mode.
Modified Paths:
--------------
safekeep/trunk/doc/safekeep.txt
safekeep/trunk/safekeep
Modified: safekeep/trunk/doc/safekeep.txt
===================================================================
--- safekeep/trunk/doc/safekeep.txt 2007-02-05 15:23:26 UTC (rev 393)
+++ safekeep/trunk/doc/safekeep.txt 2007-02-05 18:28:58 UTC (rev 394)
@@ -87,8 +87,8 @@
This can be a single file (for a single client configuration)
or a directory containing several configuration files (one per
backup client). Can be specified multiple times.
- If not specified at all, SafeKeep will default to searching
- `/etc/safekeep.d/` for configuration files.
+ If not specified at all, SafeKeep will default in non-client mode
+ to searching `/etc/safekeep.d/` for configuration files.
Simply using this default is the recommended usage.
-e, --email=EMAIL::
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2007-02-05 15:23:26 UTC (rev 393)
+++ safekeep/trunk/safekeep 2007-02-05 18:28:58 UTC (rev 394)
@@ -822,7 +822,7 @@
if mode is 'client' and cfglocs:
usage(2)
- if len(cfglocs) == 0:
+ if mode is not 'client' and len(cfglocs) == 0:
cfglocs.append(config_dir)
cfgs = parse_locs(cfglocs)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|