Fix typo so that krsh doesn't exit when using the default port
authorTheodore Tso <tytso@mit.edu>
Mon, 24 Jun 1996 18:15:45 +0000 (18:15 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 24 Jun 1996 18:15:45 +0000 (18:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8545 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/krsh.c

index daceb9f08eef91cc362499a5a7ff98c3febbd454..28d3c506572a9b1fc8de069f35662388c6a652b6 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jun 24 09:48:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * krsh.c (main): Fix typo so that krsh doesn't exit when using the
+               default port.
+
 Fri Jun 21 21:12:52 1996  Sam Hartman  <hartmans@mit.edu>
 
        * configure.in : Make sure it works with the built-in libkrb4.a again.
index 0a59cb3ddce04d79d1e979bff07293712d0b070a..6bf8f9d37596506b356a90380576105a2f56ff77 100644 (file)
@@ -325,8 +325,8 @@ main(argc, argv0)
        sp->s_port = htons(544);
 #else 
        fprintf(stderr, "rsh: shell/tcp: unknown service\n");
-#endif /* KERBEROS */
        exit(1);
+#endif /* KERBEROS */
       }
 
       debug_port = sp->s_port;