printf is a shell built-in which does not exec a new process like echo; I believe this is a reasonable replacement for use of echo -n
printf "%s" ${1} Alternatively, if you drop the /bin/echo and use bash's built-in echo; that also will work as it won't exec a new process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835114 Title: [MIR] ec2-instance-connect To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-instance-connect/+bug/1835114/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs