Re: How to stop a cron job sending email



Johann Spies <jspies@xxxxxxxxx> writes:

On Fri, Oct 31, 2008 at 10:58:59AM +0000, Chris Rees wrote:

The actual redirect should be 2>&1

From 'man bash'
[...]

The original script started with #!/bin/sh, not #!/bin/bash.

It's a common problem to use bashisms in bourne shell scripts. While
/bin/sh has often been a symlink to /bin/bash, this is changing in a
number of distros to get faster boot times. These sort of errors are
going to crop up more often now.


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: linux (debian) and RTL8201CL ethernet card
    ... at least from the debian installer. ... Debian, unlike some distros, sort of assumes that you've Read The Fine ... Matt G|There is no Darkness in Eternity/But only Light too dim for us to see ...
    (comp.os.linux.hardware)
  • Re: PackageKit major annoyances
    ... Other distros are adopting all of it, ... but it's their mess to sort out. ... Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines ...
    (Fedora)
  • Re: newsgroups binary downloader
    ... I have been using Pan for a while now and had no problems with it at all ... Sort of based on Agent comes with most distros ...
    (alt.os.linux.suse)