Amanda-Users

Syntax error in chg-disk

2008-08-21 05:47:54
Subject: Syntax error in chg-disk
From: Olivier Nicole <on AT cs.ait.ac DOT th>
To: amanda-users AT amanda DOT org, jeh AT FreeBSD DOT org
Date: Thu, 21 Aug 2008 16:37:17 +0700 (ICT)
Hi,

I am using chg-disk on Amanda 2.5.1p3 on FreeBSD and while I was
trying it by hand, I found a Bourne Sheel syntax error:

around the line 83, it should read:

   if test X"$TAPE" = X""; then

With a single = instead of the == operator found in the script.

I am not sure it is an error in Amanda distribution or in the port
made for FreeBSD.

Best regards,

Olivier

<Prev in Thread] Current Thread [Next in Thread>