Print this page
Forgot logerr for get_resource

@@ -115,11 +115,11 @@
     logmsg "Entering $CODEMGR_WS"
     pushd $CODEMGR_WS > /dev/null
     logmsg "Getting Closed Source Bins..."
     for bin in on-closed-bins.i386.tar.bz2 on-closed-bins-nd.i386.tar.bz2 ; do
         if [[ ! -f $bin ]]; then
-            get_resource illumos-gate/$bin
+            get_resource illumos-gate/$bin || logerr "Unable to get $bin"
         fi
         logcmd tar xpf $bin
     done
     logmsg "Leaving $CODEMGR_WS"
     popd > /dev/null