From 4b16c4c94646f1b3e5afa8cebfc74640762032ae Mon Sep 17 00:00:00 2001
From: friedphish <50951356+friedphish@users.noreply.github.com>
Date: Fri, 27 Sep 2019 18:03:44 +0200
Subject: [PATCH] Update create_sibling.sh

Fixed a getcwd() error
---
 scripts/create_sibling.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/create_sibling.sh b/scripts/create_sibling.sh
index 9f98edc..1e08d8d 100755
--- a/scripts/create_sibling.sh
+++ b/scripts/create_sibling.sh
@@ -168,6 +168,7 @@ function provision_raspbian() {
   cd caplets
   make install
   rm -rf /tmp/caplets
+  cd /root # fixes getcwd error that was bugging me
 
   # Re4son-Kernel
   echo "deb http://http.re4son-kernel.com/re4son/ kali-pi main" > /etc/apt/sources.list.d/re4son.list