Explorar el Código

Fix nmount on blank entry

master
Arun Prakash Jana hace 6 años
padre
commit
bd2831498c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      plugins/nmount

+ 5
- 0
plugins/nmount Ver fichero

@@ -10,6 +10,11 @@ lsblk
echo
echo -n "device (e.g. sdc2): "
read dev

if [ -z "$dev" ]; then
exit 1
fi

echo

if grep -qs "$dev " /proc/mounts; then


Cargando…
Cancelar
Guardar