[libhttpseverywhere: 10/21] updater: do not throw critical if updatefolder exists
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhttpseverywhere: 10/21] updater: do not throw critical if updatefolder exists
- Date: Tue, 22 Nov 2016 14:38:07 +0000 (UTC)
commit 3858bc71bfc80e2fea09ada73f2c5d89dc142df7
Author: grindhold <grindhold gmx net>
Date: Tue Oct 25 04:11:16 2016 +0200
updater: do not throw critical if updatefolder exists
src/update.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/update.vala b/src/update.vala
index 7acd1f7..72b0a8b 100644
--- a/src/update.vala
+++ b/src/update.vala
@@ -219,9 +219,7 @@ namespace HTTPSEverywhere {
try {
var f = File.new_for_path(UPDATE_DIR);
f.make_directory_with_parents();
- } catch {
- critical("Could not create "+UPDATE_DIR+"\n");
- }
+ } catch {}
lock_update();
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]