summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 0d4ed21e3a..c74317e9bd 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -327,6 +327,8 @@ do_validate_branches() {
327 if [ $? -eq 0 ]; then 327 if [ $? -eq 0 ]; then
328 # restore the branch for builds 328 # restore the branch for builds
329 git checkout -q -f ${KBRANCH} 329 git checkout -q -f ${KBRANCH}
330 else
331 git checkout -q master
330 fi 332 fi
331} 333}
332 334