aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/install.c')
-rw-r--r--release/sysinstall/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 4bd986dd5bfb..4ff5cb22809c 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -749,7 +749,7 @@ installFixupBin(dialogMenuItem *self)
/* Snapshot any boot -c changes back to the new kernel */
cp = variable_get(VAR_KGET);
if (cp && (*cp == 'Y' || *cp == 'y')) {
- if (kstat = kget("/boot/kernel.conf")) {
+ if ((kstat = kget("/boot/kernel.conf")) != NULL) {
msgConfirm("Kernel copied OK, but unable to save boot -c changes\n"
"to it. See the debug screen (ALT-F2) for details.");
}