summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpwdgrp/shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/shadow.c b/libpwdgrp/shadow.c
index 3a9c4b8..ed0ef01 100644
--- a/libpwdgrp/shadow.c
+++ b/libpwdgrp/shadow.c
@@ -54,7 +54,7 @@ void setspent(void)
if (shadow) {
rewind(shadow);
} else {
- shadow == bb_xfopen(SHADOW_FILE, "r");
+ shadow = bb_xfopen(SHADOW_FILE, "r");
}
}