From 624abdf1fca72f7b0b2f2366e1f055bcf8e57b92 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Thu, 18 Sep 2014 12:55:45 +0200 Subject: [PATCH] Fixed a bug that made the installer crash when called without arguments. --- pandora_server/pandora_server_installer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer index 620712cbb3..d121c9cde5 100755 --- a/pandora_server/pandora_server_installer +++ b/pandora_server/pandora_server_installer @@ -10,7 +10,9 @@ MODE=$1 -shift +if [ $# -gt 1 ]; then + shift +fi # Defaults PREFIX=/usr