blob: d2e4004ed4c06a8f5518d0e21f1d36466c378ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff -Nur cryptsetup-luks-1.0.4.orig/src/cryptsetup.c cryptsetup-luks-1.0.4/src/cryptsetup.c
--- cryptsetup-luks-1.0.4.orig/src/cryptsetup.c 2006-10-04 15:47:00.000000000 +0200
+++ cryptsetup-luks-1.0.4/src/cryptsetup.c 2006-12-16 15:54:12.000000000 +0100
@@ -249,7 +249,8 @@
if (opt_readonly)
options.flags |= CRYPT_FLAG_READONLY;
r = crypt_luksOpen(&options);
- show_status(-r);
+ if(r)
+ show_status(-r);
return r;
}
|