diff options
author | irina <irinagomez@us.es> | 2018-03-28 11:20:36 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2018-03-28 11:20:36 +0000 |
commit | 305c2563a96d76587329a463132d95a3b11c45fe (patch) | |
tree | aec813a4bc2603ca3ebaacebe6af82ec99bb61b5 /client/engine/PostConfEAC.lib | |
parent | 6bb748bfd6df24cf0fd7b2b6fe03f889e3ba336e (diff) |
Se corrigen erratas por usar el código de error de ogGetPath
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5688 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/PostConfEAC.lib')
-rwxr-xr-x | client/engine/PostConfEAC.lib | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/engine/PostConfEAC.lib b/client/engine/PostConfEAC.lib index 6826620d..d34864d1 100755 --- a/client/engine/PostConfEAC.lib +++ b/client/engine/PostConfEAC.lib @@ -47,9 +47,12 @@ else return $(ogRaiseError $OG_ERR_NOTOS "version windows no detectada"; echo $?) fi -hiveSAM=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/SAM) && export hiveSAM || return $(ogRaiseError $OG_ERR_NOTOS " hive SAM no detectada"; echo $?) -hiveSYSTEM=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/system) && export hiveSYSTEM || return $(ogRaiseError $OG_ERR_NOTOS "hive SYSTEM no detectada"; echo $?) -hiveSOFTWARE=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/software) && export hiveSOFTWARE || return $(ogRaiseError $OG_ERR_NOTOS "hive SOFTWARE no detectada"; echo $?) +hiveSAM=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/SAM) +[ -n "$hiveSAM" ] && export hiveSAM || return $(ogRaiseError $OG_ERR_NOTOS " hive SAM no detectada"; echo $?) +hiveSYSTEM=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/system) +[ -n "$hiveSYSTEM" ] && export hiveSYSTEM || return $(ogRaiseError $OG_ERR_NOTOS "hive SYSTEM no detectada"; echo $?) +hiveSOFTWARE=$(ogGetPath $DISK $PART /${SYSTEMROOT}/system32/config/software) +[ -n "$hiveSOFTWARE" ] && export hiveSOFTWARE || return $(ogRaiseError $OG_ERR_NOTOS "hive SOFTWARE no detectada"; echo $?) export TEMPhive=/tmp/tmpregistry # segunda fase, carga de los hive de usuarios windows. |