~deja-dup-hackers/deja-dup/30

« back to all changes in this revision

Viewing changes to libdeja/tools/duplicity/DuplicityInstance.vala

  • Committer: Michael Terry
  • Date: 2014-01-29 21:59:58 UTC
  • Revision ID: michael.terry@canonical.com-20140129215958-5a2qg9pqw2br0lyx
Fix old-versions test and don't print an error if lockfile.log doesn't exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
    // We already are pretty sure we don't have other duplicities in our
181
181
    // archive directories, because we use our own and we ensure we only have
182
182
    // one deja-dup running at a time via DBus.
183
 
    Posix.system("rm " + Path.build_filename(cache_dir, "*", "lockfile.lock"));
 
183
    Posix.system("rm -f " + Path.build_filename(cache_dir, "*", "lockfile.lock"));
184
184
 
185
185
    Process.spawn_async_with_pipes(null, real_argv, real_envp,
186
186
                        SpawnFlags.SEARCH_PATH |