[124039] branches/gsoc14-cleanup/src/macports1.0/doctor.tcl

ksammons at macports.org ksammons at macports.org
Sun Aug 17 10:28:22 PDT 2014


Revision: 124039
          https://trac.macports.org/changeset/124039
Author:   ksammons at macports.org
Date:     2014-08-17 10:28:22 -0700 (Sun, 17 Aug 2014)
Log Message:
-----------
Added exit statement after error

Modified Paths:
--------------
    branches/gsoc14-cleanup/src/macports1.0/doctor.tcl

Modified: branches/gsoc14-cleanup/src/macports1.0/doctor.tcl
===================================================================
--- branches/gsoc14-cleanup/src/macports1.0/doctor.tcl	2014-08-17 17:25:12 UTC (rev 124038)
+++ branches/gsoc14-cleanup/src/macports1.0/doctor.tcl	2014-08-17 17:28:22 UTC (rev 124039)
@@ -573,8 +573,9 @@
         #           None
 
         if {[file exists $path] == 0} {
-            ui_warn "No configuration file found at $path. Please run, \
+            ui_error "No configuration file found at $path. Please run, 
                         \"port selfupdate\""
+            exit
             
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140817/699f5f6c/attachment.html>


More information about the macports-changes mailing list