Read from /mnt/system_data/ instead of /etc.
This commit is contained in:
		@@ -86,7 +86,7 @@ bool GitClient::gitCheckoutBranch() {
 | 
				
			|||||||
    // TODO: nachsehen, ob der Branch ueberhaupt existiert
 | 
					    // TODO: nachsehen, ob der Branch ueberhaupt existiert
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (QDir(m_customerRepository).exists()) {
 | 
					    if (QDir(m_customerRepository).exists()) {
 | 
				
			||||||
        int zoneNr = Utils::read1stLineOfFile("/etc/zone_nr");
 | 
					        int zoneNr = Utils::read1stLineOfFile("/mnt/system_data/zone_nr");
 | 
				
			||||||
        m_branchName = (zoneNr != 0)
 | 
					        m_branchName = (zoneNr != 0)
 | 
				
			||||||
            ? QString("zg1/zone%1").arg(zoneNr) : "master";
 | 
					            ? QString("zg1/zone%1").arg(zoneNr) : "master";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user