diff --git a/xCAT-client/sbin/tabedit b/xCAT-client/sbin/tabedit index aad314910..421cc6a76 100755 --- a/xCAT-client/sbin/tabedit +++ b/xCAT-client/sbin/tabedit @@ -18,7 +18,7 @@ fi TABLE=$1 -if [ $TABLE = "eventlog" ] || [ $TABLE = "auditlog" ]; then +if [ "$TABLE" = "eventlog" ] || [ "$TABLE" = "auditlog" ]; then echo "The auditlog and eventlog tables may not be edited. Editing will cause index regeneration. Use the tabprune command."; exit 1 fi