Commit 636b63525f195c3f70ea721898983f6c37d63328

Authored by Prince Mbekwa
1 parent a2de260d

fixed sudo access giving error

Showing 1 changed file with 4 additions and 1 deletions
dmsctl.sh
... ... @@ -411,7 +411,10 @@ if [ "x$3" != "x" ]; then
411 411 fi
412 412  
413 413 # Are we running for first time
414   -[[ -e $INSTALL_PATH/var/bin/dmsinit.lock ]] || firstrun
  414 +if [ -f $INSTALL_PATH/var/bin/dmsinit.lock]
  415 + firstrun
  416 +fi
  417 +#[[ -e $INSTALL_PATH/var/bin/dmsinit.lock ]] || firstrun
415 418  
416 419 case $1 in
417 420 help) help
... ...