From 29e79c3c62f5f6b9d9d26f1f9c286808277fbe79 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Wed, 29 Aug 2007 09:21:33 +0000 Subject: [PATCH] bug in fix for #292986 --- tools/migrate-sources/migrate-sources.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/migrate-sources/migrate-sources.cc b/tools/migrate-sources/migrate-sources.cc index 5878eb4..a6951e6 100644 --- a/tools/migrate-sources/migrate-sources.cc +++ b/tools/migrate-sources/migrate-sources.cc @@ -35,7 +35,7 @@ struct Options static void migrate_sources( const Options &opt ) { - if ( string(getenv("YAST_IS_RUNNING")) == "instsys" ) + if ( getenv("YAST_IS_RUNNING") && (string(getenv("YAST_IS_RUNNING")) == "instsys" )) { MIL << "YaST is running in instsys. Not migrating old sources. YaST will do it." << endl; return; -- 2.7.4