Explorar o código

Change dir to prevent error on shell

Joachim M. Giæver %!s(int64=2) %!d(string=hai) anos
pai
achega
13c47700d3
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/config/plug-bin

+ 3 - 0
src/config/plug-bin

@@ -1,5 +1,8 @@
 #!/usr/bin/env bash
 
+# just to prevent error on shelling
+cd $SNAP
+
 snapctl is-connected bin
 
 if [ $? -eq 0 ]; then