]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/uam.c
fixed DISABLE_SHELLCHECK support in afpd and papd (Jason Keltz <jas@cs.yorku.ca>)
[netatalk.git] / etc / afpd / uam.c
index 0b5dfaf9214286c645bf56204c1ab9ae4a44d01a..e2867b1dcc21b3c30f2e7336c2b2c4d2f80d718d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: uam.c,v 1.10 2001-06-25 15:18:01 rufustfirefly Exp $
+ * $Id: uam.c,v 1.11 2001-06-25 18:17:49 rufustfirefly Exp $
  *
  * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
  * All Rights Reserved.  See COPYRIGHT.
@@ -232,7 +232,7 @@ int uam_checkuser(const struct passwd *pwd)
   }
   endusershell();
 
-#ifdef DISABLE_SHELLCHECK
+#ifndef DISABLE_SHELLCHECK
   if (!p) {
     syslog( LOG_INFO, "illegal shell %s for %s", pwd->pw_shell, pwd->pw_name);
     return -1;