[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar errorcode with perl
From: |
Andreas Mürdter |
Subject: |
[Bug-tar] tar errorcode with perl |
Date: |
Thu, 25 Nov 2004 10:07:05 +0100 |
Hi,
i using a perl script to make a backup from hd to tape with following command:
@result = `tar -cvzf /dev/sto $dir 2>&1`;
if there is no tape in the streamer and I backup only a small directory
like "/etc", I get an errorcode "512".
when I backup a bigger directory "/var" I get an errorcode with "13"
i.e: no tape in the streamer.
1. @result = `tar -cvzf /dev/sto /etc; #### $? is 512 !
2. @result = `tar -cvzf /dev/sto /var; #### $? is 13 !
In 2. the errorcode should also be 512, and not 13.
Is this a bug?
Regards
Andreas
- [Bug-tar] tar errorcode with perl,
Andreas Mürdter <=