Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vespos committed Jun 7, 2023
2 parents ba1620d + ba521d9 commit 2488d38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/camViewer
Original file line number Diff line number Diff line change
Expand Up @@ -265,16 +265,17 @@ if [ $# -ge 1 ]; then
fi

verify-hutch "$hutch"
if [ $? == 1 ]; then
if ! verify-hutch "$hutch"; then
hutch=$(get_info --gethutch)
if [ "$hutch" == unknown_hutch ]; then
echo 'Unknown hutch, specify using -H option with a valid hutch name.'
usage
exit 1
fi
echo "Launching camViewer for $hutch."
fi

echo "Launching camViewer for $hutch."

EXE="/reg/g/pcds/pyps/config/$hutch/camviewer/run_viewer.csh"
PVLIST="/reg/g/pcds/pyps/config/$hutch/camviewer.cfg"

Expand Down

0 comments on commit 2488d38

Please sign in to comment.