projects
/
grml-scripts-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update changelog for release.
[grml-scripts-core.git]
/
usr_sbin
/
prepare_ramdisk.sh
diff --git
a/usr_sbin/prepare_ramdisk.sh
b/usr_sbin/prepare_ramdisk.sh
index
7e94187
..
e7018fb
100755
(executable)
--- a/
usr_sbin/prepare_ramdisk.sh
+++ b/
usr_sbin/prepare_ramdisk.sh
@@
-6,7
+6,7
@@
# License: This file is licensed under the GPL v2.
################################################################################
-if [ $
UID != 0 ]
; then
+if [ $
(id -u) != 0 ]
; then
echo "Error: $0 requires root permissions. Exiting."
exit 1
fi