12 lines
663 B
Diff
12 lines
663 B
Diff
|
--- open-vm-tools-9.10.0-2476743.orig/toolbox/toolboxcmd-shrink.c 2015-03-19 15:53:25.000000000 -0700
|
||
|
+++ open-vm-tools-9.10.0-2476743/toolbox/toolboxcmd-shrink.c 2015-04-29 17:35:12.190392096 -0700
|
||
|
@@ -391,7 +391,7 @@
|
||
|
* Verify that wiping/shrinking are permitted before going through with the
|
||
|
* wiping operation.
|
||
|
*/
|
||
|
- if (!ShrinkGetWiperState() == WIPER_ENABLED && !Wiper_IsWipeSupported(part)) {
|
||
|
+ if (ShrinkGetWiperState() != WIPER_ENABLED && !Wiper_IsWipeSupported(part)) {
|
||
|
g_debug("%s cannot be wiped / shrunk\n", mountPoint);
|
||
|
ToolsCmd_PrintErr("%s",
|
||
|
SU_(disk.shrink.disabled, SHRINK_DISABLED_ERR));
|