]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/scriptlive.c
script: add --echo
[thirdparty/util-linux.git] / term-utils / scriptlive.c
index 899871574b7d85974284995b8935441de850697b..6d263296bf62a5f119baf7f447685a16715eb643 100644 (file)
@@ -291,7 +291,7 @@ main(int argc, char *argv[])
 
        if (!isatty(STDIN_FILENO))
                /* We keep ECHO flag for compatibility with script(1) */
-               ul_pty_keep_slave_echo(ss.pty, 1);
+               ul_pty_slave_echo(ss.pty, 1);
 
        if (ul_pty_setup(ss.pty))
                err(EXIT_FAILURE, _("failed to create pseudo-terminal"));