Separate settings and the SET command, for modularity.
[pspp-builds.git] / src / permissions.c
index 140c79ef27fe10a8f722624efb0573ef211b5f0a..0d2369216469e2fe7cecff802884316f2d468350 100644 (file)
@@ -97,7 +97,7 @@ change_permissions(const char *filename, enum PER per)
   struct stat buf;
   mode_t mode;
 
-  if ( safer_mode() )
+  if (get_safer_mode ())
     {
       msg (SE, _("This command not allowed when the SAFER option is set."));
       return CMD_FAILURE;