[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tar problem



Hi,

  I wrote a script to admin a bunch of openbsd machines where
one of the commands is "tar rf $tarfile $files", the problem is when
$tarfile doesn't exist tar gives me an error :
"tar: Failed open to read/write on backup.tar <no such file or 
directory>"

but its exit value is 0, shouldn't it be non-zero ?

Thanks for any help,

--venabilis



Visit your host, monkey.org