Amanda-Users

? mistake sh in amverifyrun 2.4.4p1

2004-02-13 12:29:22
Subject: ? mistake sh in amverifyrun 2.4.4p1
From: "Allen Liu --- work" <allen AT bellglobal DOT com>
To: <amanda-users AT amanda DOT org>
Date: Fri, 13 Feb 2004 12:27:23 -0500
I am not sure if this is an error in amverifyrun script.

I run amverifyrun and got a error :

test: argument expected.

When I viewed the script I found the 1st line is :

    #!/bin/sh
while there is a test line in body :
    [ -e ...... ]

This is not supported in sh. After I change 1st line to #!/bin/ksh, it works
fine.
Has anybody experienced this before ?


Thanks

Allen Liu



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