summaryrefslogtreecommitdiff
path: root/src/udiskslinuxblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udiskslinuxblock.c')
-rw-r--r--src/udiskslinuxblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
index c8a86f1..9443e17 100644
--- a/src/udiskslinuxblock.c
+++ b/src/udiskslinuxblock.c
@@ -1278,7 +1278,7 @@ add_remove_fstab_entry (GVariant *remove,
str->str,
-1,
0644, /* mode to use if non-existant */
- error) != 0)
+ error))
goto out;
ret = TRUE;
@@ -1522,7 +1522,7 @@ add_remove_crypttab_entry (GVariant *remove,
str->str,
-1,
0600, /* mode to use if non-existant */
- error) != 0)
+ error))
goto out;
ret = TRUE;