[gnome-initial-setup] copy-worker: Correct the check for the src dir
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] copy-worker: Correct the check for the src dir
- Date: Sat, 6 Oct 2012 00:05:38 +0000 (UTC)
commit 6c947bd0bb481289b2d377df1a6d0f54af7b1a7a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Oct 5 20:54:12 2012 -0300
copy-worker: Correct the check for the src dir
We need to bail out when the src dir doesn't exist, not when it does.
Copy/paste typo from the summary page.
.../gnome-initial-setup-copy-worker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup-copy-worker.c b/gnome-initial-setup/gnome-initial-setup-copy-worker.c
index 1280714..9e6122e 100644
--- a/gnome-initial-setup/gnome-initial-setup-copy-worker.c
+++ b/gnome-initial-setup/gnome-initial-setup-copy-worker.c
@@ -60,7 +60,7 @@ main (int argc,
src = g_file_new_for_path (get_skeleton_dir ());
- if (g_file_query_exists (src, NULL))
+ if (!g_file_query_exists (src, NULL))
goto out;
ret = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]