Oops.
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 26 Jun 2003 18:01:43 +0000 (18:01 +0000)
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 26 Jun 2003 18:01:43 +0000 (18:01 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@6983 69ca8d6d-28ef-0310-b511-8ec308f3f277

libpwdgrp/shadow.c

index 3a9c4b8..ed0ef01 100644 (file)
@@ -54,7 +54,7 @@ void setspent(void)
        if (shadow) {
                rewind(shadow);
        } else {
        if (shadow) {
                rewind(shadow);
        } else {
-               shadow == bb_xfopen(SHADOW_FILE, "r");
+               shadow = bb_xfopen(SHADOW_FILE, "r");
        }
 }
 
        }
 }