Package: unrar
Version: 1:3.5.4-0.1
Severity: normal

Hello,

just happend to type

for i in *.rar; do unrar $i && rm $i ; done

into my shell, which is of course wrong because I didn't tell unrar what
to do, but to my surprise the files were gone (a backup is available so
nothing got lost), since unrar returns 0 as its exit code even though
this is clearly an error.

Kind regards
WK

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages unrar depends on:
ii  libc6                         2.3.5-12.1 GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-8  GCC support library
ii  libstdc++6                    4.0.2-8    The GNU Standard C++ Library v3

unrar recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to