Package: switchconf
Version: 0.0.4-1
Severity: normal
Tags: patch

If the configuration is not found an error message is displayed but the
execution continues, with more error messages of course.

I suggest the patch:

--- /usr/sbin/switchconf        2005-04-28 19:15:43.000000000 +0200
+++ switchconf  2005-09-18 20:22:40.000000000 +0200
@@ -46,11 +46,12 @@
 cd ${conf_top_dirs}
 if [ ! -d ${conf} ]; then
     echo "Configuration ${conf} not found"
+       exit
 fi
 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to