Aipo 資料一覧
restore_handler.shがfunction: not foundエラーになる
2011/5/29更新
対応バージョン: 6.0.0.0
リストアツールのrestore_handler.shを実行すると以下のエラーになる。
# cd /usr/local/aipo/bin # ./restore_handler.sh ./restore_handler.sh: 8: function: not found [0] キャンセル バックアップファイルを選んで番号を入力してください
これは同スクリプトの関数定義が誤っていることによるエラーなので、以下のように修正すればよい。
(変更前)
8 function listfunc
(変更後) 書式を変更
8 listfunc()
また、以下も誤っているので合わせて修正する。
(変更前)
25 let str=`echo $* | cut -f $select -d " " `
(変更後) letを削除
25 str=`echo $* | cut -f $select -d " " `