typo (reverse logic error)
This commit is contained in:
4
misc.c
4
misc.c
@@ -6,7 +6,7 @@
|
|||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.45 2007/01/17 23:27:47 tg Exp $\t"
|
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.46 2007/01/18 01:01:25 tg Exp $\t"
|
||||||
MKSH_SH_H_ID);
|
MKSH_SH_H_ID);
|
||||||
|
|
||||||
#undef USE_CHVT
|
#undef USE_CHVT
|
||||||
@@ -1340,7 +1340,7 @@ parse_T(char *fn)
|
|||||||
warningf(false, "chvt: cannot chown root %s", fn);
|
warningf(false, "chvt: cannot chown root %s", fn);
|
||||||
if (((sb.st_mode & 07777) != 0600) && chmod(fn, 0600))
|
if (((sb.st_mode & 07777) != 0600) && chmod(fn, 0600))
|
||||||
warningf(false, "chvt: cannot chmod 0600 %s", fn);
|
warningf(false, "chvt: cannot chmod 0600 %s", fn);
|
||||||
#if !HAVE_REVOKE
|
#if HAVE_REVOKE
|
||||||
if (revoke(fn))
|
if (revoke(fn))
|
||||||
warningf(false, "chvt: cannot revoke %s", fn);
|
warningf(false, "chvt: cannot revoke %s", fn);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user